From: Brian Paul Date: Tue, 17 Nov 2009 23:15:56 +0000 (-0700) Subject: mesa: fix incorrect type in store_texel_al1616() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bc8fb028c6c9e7c9bd4f6aaf094a606c447e3711;p=mesa.git mesa: fix incorrect type in store_texel_al1616() --- diff --git a/src/mesa/main/texfetch_tmp.h b/src/mesa/main/texfetch_tmp.h index 6fac7ba1e19..1f0d4362361 100644 --- a/src/mesa/main/texfetch_tmp.h +++ b/src/mesa/main/texfetch_tmp.h @@ -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