mesa: fix MESA/EXT typo
authorBrian Paul <brianp@vmware.com>
Wed, 26 Jan 2011 15:01:15 +0000 (08:01 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 26 Jan 2011 15:01:31 +0000 (08:01 -0700)
Spotted by Bernd Buschinski.

src/mesa/main/teximage.c

index 7f630e23c7ab8867c94c1a1175ba8ed5a4f72266..1f2ad7f266b4f8910401474d2fae83db221b1100 100644 (file)
@@ -1383,7 +1383,7 @@ target_can_be_compressed(const struct gl_context *ctx, GLenum target,
    case GL_PROXY_TEXTURE_2D_ARRAY_EXT:
    case GL_TEXTURE_2D_ARRAY_EXT:
       return (ctx->Extensions.MESA_texture_array ||
-              ctx->Extensions.MESA_texture_array);
+              ctx->Extensions.EXT_texture_array);
    default:
       return GL_FALSE;
    }