Add missing _EXT suffix to 2D_ARRAY target enums.
authorIan Romanick <idr@us.ibm.com>
Thu, 17 May 2007 18:54:22 +0000 (11:54 -0700)
committerIan Romanick <idr@us.ibm.com>
Thu, 17 May 2007 18:54:22 +0000 (11:54 -0700)
src/mesa/main/teximage.c

index 766dad4d5f7c6e61d69699b966291ee824222e38..1f4c9f4722ca1680147a6fe8d70a83df3f3ac9ec 100644 (file)
@@ -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)))));
 }