test-cogl-npot-texture: Use the COGL_TEXTURE_NO_ATLAS flag
authorNeil Roberts <neil@linux.intel.com>
Tue, 19 Jan 2010 17:14:58 +0000 (17:14 +0000)
committerNeil Roberts <neil@linux.intel.com>
Tue, 19 Jan 2010 17:15:51 +0000 (17:15 +0000)
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

index 526c5ca..8ca9206 100644 (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,