[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.
This commit is contained in:
parent
b41a81fb08
commit
bc24190b9a
@ -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 };
|
||||
|
Loading…
Reference in New Issue
Block a user