Arrange arguments of MAKE_RGB_INFO define in order of rgb. Signed-off-by: Joonyoung Shim <jy0922.shim@xxxxxxxxxxx> --- tests/modetest/buffers.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/modetest/buffers.c b/tests/modetest/buffers.c index e4e8149..807819a 100644 --- a/tests/modetest/buffers.c +++ b/tests/modetest/buffers.c @@ -98,8 +98,8 @@ struct format_info { const struct yuv_info yuv; }; -#define MAKE_RGB_INFO(rl, ro, bl, bo, gl, go, al, ao) \ - .rgb = { { (rl), (ro) }, { (bl), (bo) }, { (gl), (go) }, { (al), (ao) } } +#define MAKE_RGB_INFO(rl, ro, gl, go, bl, bo, al, ao) \ + .rgb = { { (rl), (ro) }, { (gl), (go) }, { (bl), (bo) }, { (al), (ao) } } #define MAKE_YUV_INFO(order, xsub, ysub, chroma_stride) \ .yuv = { (order), (xsub), (ysub), (chroma_stride) } -- 1.9.1 _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel