main: fix ES compile breakage
authorBrian Paul <brianp@vmware.com>
Fri, 24 Aug 2012 12:40:06 +0000 (06:40 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 24 Aug 2012 12:40:06 +0000 (06:40 -0600)
src/mesa/main/teximage.c

index 0cd0b328c8b97bf2c99fc4c28b2a532b661d86e2..8ec48eb62a68bb7eab94f358cdf280f889ffacc1 100644 (file)
@@ -2926,7 +2926,7 @@ teximage(struct gl_context *ctx, GLboolean compressed, GLuint dims,
       case GL_PALETTE8_RGBA4_OES:
       case GL_PALETTE8_RGB5_A1_OES:
          _mesa_cpal_compressed_teximage2d(target, level, internalFormat,
-                                          width, height, imageSize, data);
+                                          width, height, imageSize, pixels);
          return;
       }
    }