summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texfetch_tmp.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-11-17 16:15:56 -0700
committerBrian Paul <[email protected]>2009-11-17 16:16:30 -0700
commitbc8fb028c6c9e7c9bd4f6aaf094a606c447e3711 (patch)
treef1dc3bd5fdd6b93770dfd11e0fdae250b8e2cbb8 /src/mesa/main/texfetch_tmp.h
parent7e3955d8e80c364d9b4c9eee1ec9758ff3ab8a1d (diff)
mesa: fix incorrect type in store_texel_al1616()
Diffstat (limited to 'src/mesa/main/texfetch_tmp.h')
-rw-r--r--src/mesa/main/texfetch_tmp.h2
1 files changed, 1 insertions, 1 deletions
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