Mesa (master): main: fix ES compile breakage

Brian Paul brianp at kemper.freedesktop.org
Fri Aug 24 12:40:38 UTC 2012


Module: Mesa
Branch: master
Commit: 388af5b6f43fc81d7a9423a42358bcea65ab8ba9
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=388af5b6f43fc81d7a9423a42358bcea65ab8ba9

Author: Brian Paul <brianp at vmware.com>
Date:   Fri Aug 24 06:40:06 2012 -0600

main: fix ES compile breakage

---

 src/mesa/main/teximage.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c
index 0cd0b32..8ec48eb 100644
--- a/src/mesa/main/teximage.c
+++ b/src/mesa/main/teximage.c
@@ -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;
       }
    }




More information about the mesa-commit mailing list