From bc24190b9ac32405d4be24d84968357921c7f7e2 Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Mon, 2 Nov 2009 01:23:25 +0000 Subject: [PATCH] [test-texture-fbo] comment the colors defined in corner_colors It helps to be able to quickly glance at the definition to see which quadrant of the test actor should be which color, so when debugging a problem and looking at the visual output you can easily verify if it's being flipped upside down/left to right. --- tests/conform/test-texture-fbo.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/conform/test-texture-fbo.c b/tests/conform/test-texture-fbo.c index b11bde0..958fc29 100644 --- a/tests/conform/test-texture-fbo.c +++ b/tests/conform/test-texture-fbo.c @@ -13,10 +13,10 @@ static const ClutterColor corner_colors[SOURCE_DIVISIONS_X * SOURCE_DIVISIONS_Y] = { - { 0xff, 0x00, 0x00, 0xff }, - { 0x00, 0xff, 0x00, 0xff }, - { 0x00, 0x00, 0xff, 0xff }, - { 0xff, 0x00, 0xff, 0xff } + { 0xff, 0x00, 0x00, 0xff }, /* red top left */ + { 0x00, 0xff, 0x00, 0xff }, /* green top right */ + { 0x00, 0x00, 0xff, 0xff }, /* blue bottom left */ + { 0xff, 0x00, 0xff, 0xff } /* purple bottom right */ }; static const ClutterColor stage_color = { 0x0, 0x0, 0x0, 0xff }; -- 2.7.4