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:
parent
ab6be41ea0
commit
2bb4c2c6cb
@ -39,7 +39,6 @@ check_pixel (TestState *state, int x, int y, guint32 color)
|
|||||||
|
|
||||||
/* See what we got... */
|
/* 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);
|
y_off = y * QUAD_WIDTH + (QUAD_WIDTH / 2);
|
||||||
x_off = x * QUAD_WIDTH + (QUAD_WIDTH / 2);
|
x_off = x * QUAD_WIDTH + (QUAD_WIDTH / 2);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user