1
0
Fork 0

test-cogl-npot-texture: Use the COGL_TEXTURE_NO_ATLAS flag

If the texture is put in the atlas it won't be sliced whatever size it
is so it negates the test. We can avoid this with the NO_ATLAS flag.
This commit is contained in:
Neil Roberts 2010-01-19 17:14:58 +00:00
parent 08b8b2791f
commit 1ef40b8823

View file

@ -157,7 +157,7 @@ make_texture (void)
tex = cogl_texture_new_from_data (TEXTURE_SIZE,
TEXTURE_SIZE,
COGL_TEXTURE_NONE,
COGL_TEXTURE_NO_ATLAS,
COGL_PIXEL_FORMAT_RGBA_8888,
COGL_PIXEL_FORMAT_ANY,
TEXTURE_SIZE * 4,