From: Ian Romanick Date: Thu, 17 May 2007 18:54:22 +0000 (-0700) Subject: Add missing _EXT suffix to 2D_ARRAY target enums. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d834a870e600684382b50d202a2bfc6d98cf6a0b;p=mesa.git Add missing _EXT suffix to 2D_ARRAY target enums. --- diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 766dad4d5f7..1f4c9f4722c 100644 --- 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))))); }