1
0
Fork 0

test-cogl-materials: Remove a redundant comment

test-cogl-materials had a weird comment about glReadPixels using
inverted coordinates but the test now uses cogl_read_pixels instead of
glReadPixels so it is irrelevant.
This commit is contained in:
Neil Roberts 2011-07-11 16:32:10 +01:00
parent ab6be41ea0
commit 2bb4c2c6cb

View file

@ -39,7 +39,6 @@ check_pixel (TestState *state, int x, int y, guint32 color)
/* See what we got... */
/* NB: glReadPixels is done in GL screen space so y = 0 is at the bottom */
y_off = y * QUAD_WIDTH + (QUAD_WIDTH / 2);
x_off = x * QUAD_WIDTH + (QUAD_WIDTH / 2);