From 1ef40b882349820d5edb2f1ed8885c3386d2cdf7 Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Tue, 19 Jan 2010 17:14:58 +0000 Subject: [PATCH] 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. --- tests/conform/test-cogl-npot-texture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conform/test-cogl-npot-texture.c b/tests/conform/test-cogl-npot-texture.c index 526c5cad7..8ca92067d 100644 --- a/tests/conform/test-cogl-npot-texture.c +++ b/tests/conform/test-cogl-npot-texture.c @@ -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,