projects
/
profile
/
ivi
/
clutter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08b8b27
)
test-cogl-npot-texture: Use the COGL_TEXTURE_NO_ATLAS flag
author
Neil Roberts
<neil@linux.intel.com>
Tue, 19 Jan 2010 17:14:58 +0000
(17:14 +0000)
committer
Neil 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
patch
|
blob
|
history
diff --git
a/tests/conform/test-cogl-npot-texture.c
b/tests/conform/test-cogl-npot-texture.c
index
526c5ca
..
8ca9206
100644
(file)
--- 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_NO
NE
,
+ COGL_TEXTURE_NO
_ATLAS
,
COGL_PIXEL_FORMAT_RGBA_8888,
COGL_PIXEL_FORMAT_ANY,
TEXTURE_SIZE * 4,