[PATCH libdrm] modetest: fix argument naming of MAKE_RGB_INFO define

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux