projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77ff3a5
)
mesa: Fix copy'n'paste problem in al1616 texel fetch.
author
Eric Anholt
<eric@anholt.net>
Wed, 2 Dec 2009 20:15:46 +0000
(12:15 -0800)
committer
Eric Anholt
<eric@anholt.net>
Thu, 3 Dec 2009 00:19:36 +0000
(16:19 -0800)
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 1f0d43623616e568e7e5d422f925bf04e7508f45..e6772c89f36ae17f5dfbc036d9da1a0d9b1d7aa2 100644
(file)
--- a/
src/mesa/main/texfetch_tmp.h
+++ b/
src/mesa/main/texfetch_tmp.h
@@
-864,7
+864,7
@@
static void store_texel_al88_rev(struct gl_texture_image *texImage,
static void FETCH(f_al1616)( const struct gl_texture_image *texImage,
GLint i, GLint j, GLint k, GLfloat *texel )
{
- const GLuint s = *TEXEL_ADDR(GLu
shor
t, texImage, i, j, k, 1);
+ const GLuint s = *TEXEL_ADDR(GLu
in
t, texImage, i, j, k, 1);
texel[RCOMP] =
texel[GCOMP] =
texel[BCOMP] = USHORT_TO_FLOAT( s & 0xffff );