summaryrefslogtreecommitdiff
path: root/tests/modetest
diff options
context:
space:
mode:
authorJoonyoung Shim <jy0922.shim@samsung.com>2015-04-17 13:13:59 +0900
committerEmil Velikov <emil.l.velikov@gmail.com>2015-04-29 17:28:32 +0000
commitb091ecdbf93fca76521868863fb1f20e0bfe7268 (patch)
treec599a5f7a589f1c6ca1c5e8b0ba58b3e08d568d2 /tests/modetest
parent30921483c70c6939f017476eac13da6aa26b3b3c (diff)
modetest: fix the arguments of the MAKE_RGB_INFO define
The current order (rbg) seems wrong. Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com> [Emil Velikov: Tweak the commit message.] Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'tests/modetest')
-rw-r--r--tests/modetest/buffers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/modetest/buffers.c b/tests/modetest/buffers.c
index 878b64ea..6f5feabd 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) }