Mesa (master): mesa: fix incorrect type in store_texel_al1616()
Brian Paul
brianp at kemper.freedesktop.org
Tue Nov 17 23:17:20 UTC 2009
Module: Mesa
Branch: master
Commit: bc8fb028c6c9e7c9bd4f6aaf094a606c447e3711
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bc8fb028c6c9e7c9bd4f6aaf094a606c447e3711
Author: Brian Paul <brianp at vmware.com>
Date: Tue Nov 17 16:15:56 2009 -0700
mesa: fix incorrect type in store_texel_al1616()
---
src/mesa/main/texfetch_tmp.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mesa/main/texfetch_tmp.h b/src/mesa/main/texfetch_tmp.h
index 6fac7ba..1f0d436 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
More information about the mesa-commit
mailing list