projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e3955d
)
mesa: fix incorrect type in store_texel_al1616()
author
Brian Paul
<brianp@vmware.com>
Tue, 17 Nov 2009 23:15:56 +0000
(16:15 -0700)
committer
Brian Paul
<brianp@vmware.com>
Tue, 17 Nov 2009 23:16:30 +0000
(16:16 -0700)
src/mesa/main/texfetch_tmp.h
patch
|
blob
|
history
diff --git
a/src/mesa/main/texfetch_tmp.h
b/src/mesa/main/texfetch_tmp.h
index 6fac7ba1e1924e420fb435e2192328af685ce1cb..1f0d43623616e568e7e5d422f925bf04e7508f45 100644
(file)
--- 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(GLu
shor
t, texImage, i, j, k, 1);
+ GLuint *dst = TEXEL_ADDR(GLu
in
t, texImage, i, j, k, 1);
*dst = PACK_COLOR_1616(rgba[ACOMP], rgba[RCOMP]);
}
#endif