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 766dad4..1f4c9f4 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)))));
 }