mesa: fix incorrect type in store_texel_al1616()
authorBrian Paul <brianp@vmware.com>
Tue, 17 Nov 2009 23:15:56 +0000 (16:15 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 17 Nov 2009 23:16:30 +0000 (16:16 -0700)
src/mesa/main/texfetch_tmp.h

index 6fac7ba1e1924e420fb435e2192328af685ce1cb..1f0d43623616e568e7e5d422f925bf04e7508f45 100644 (file)
@@ -876,7 +876,7 @@ static void store_texel_al1616(struct gl_texture_image *texImage,
                              GLint i, GLint j, GLint k, const void *texel)
 {
    const GLushort *rgba = (const GLushort *) texel;
-   GLuint *dst = TEXEL_ADDR(GLushort, texImage, i, j, k, 1);
+   GLuint *dst = TEXEL_ADDR(GLuint, texImage, i, j, k, 1);
    *dst = PACK_COLOR_1616(rgba[ACOMP], rgba[RCOMP]);
 }
 #endif