projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72648c2
)
swrast: s/GLubyte/GLchan/ in a cast
author
Brian Paul
<brianp@vmware.com>
Wed, 21 Sep 2011 03:06:19 +0000
(21:06 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 21 Sep 2011 03:06:19 +0000
(21:06 -0600)
src/mesa/swrast/s_texfetch_tmp.h
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_texfetch_tmp.h
b/src/mesa/swrast/s_texfetch_tmp.h
index 3eebd13d7df3a849e0b454abadb0e86c0b8bad5f..c63b2043c747ea8b42641231cb61dde1086017f7 100644
(file)
--- a/
src/mesa/swrast/s_texfetch_tmp.h
+++ b/
src/mesa/swrast/s_texfetch_tmp.h
@@
-976,7
+976,7
@@
static void FETCH(f_rg88)( const struct swrast_texture_image *texImage,
static void store_texel_rg88(struct swrast_texture_image *texImage,
GLint i, GLint j, GLint k, const void *texel)
{
- const GLchan *rgba = (const GL
ubyte
*) texel;
+ const GLchan *rgba = (const GL
chan
*) texel;
GLushort *dst = TEXEL_ADDR(GLushort, texImage, i, j, k, 1);
GLubyte r = CHAN_TO_UBYTE(rgba[RCOMP]);
GLubyte g = CHAN_TO_UBYTE(rgba[GCOMP]);