projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
817181e
)
Add missing _EXT suffix to 2D_ARRAY target enums.
author
Ian Romanick
<idr@us.ibm.com>
Thu, 17 May 2007 18:54:22 +0000
(11:54 -0700)
committer
Ian Romanick
<idr@us.ibm.com>
Thu, 17 May 2007 18:54:22 +0000
(11:54 -0700)
src/mesa/main/teximage.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/teximage.c
b/src/mesa/main/teximage.c
index 766dad4d5f7c6e61d69699b966291ee824222e38..1f4c9f4722ca1680147a6fe8d70a83df3f3ac9ec 100644
(file)
--- a/
src/mesa/main/teximage.c
+++ b/
src/mesa/main/teximage.c
@@
-1398,8
+1398,8
@@
target_can_be_compressed(GLcontext *ctx, GLenum target)
(target >= GL_TEXTURE_CUBE_MAP_POSITIVE_X &&
target <= GL_TEXTURE_CUBE_MAP_NEGATIVE_Z))))
|| ((ctx->Extensions.MESA_texture_array &&
- ((target == GL_PROXY_TEXTURE_2D_ARRAY) ||
- (target == GL_TEXTURE_2D_ARRAY)))));
+ ((target == GL_PROXY_TEXTURE_2D_ARRAY
_EXT
) ||
+ (target == GL_TEXTURE_2D_ARRAY
_EXT
)))));
}