mesa: fix incorrect type in store_texel_al1616()

This commit is contained in:
Brian Paul
2009-11-17 16:15:56 -07:00
parent 7e3955d8e8
commit bc8fb028c6
+1 -1
View 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