diff options
author | Brian Paul <[email protected]> | 2011-09-20 21:06:19 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-09-20 21:06:19 -0600 |
commit | bdddf1cc26541d730bac309bd63dfdcaf4aea513 (patch) | |
tree | fbe4d6bef8703fbbbc98790e40cdbd4f9f75861f /src/mesa/swrast | |
parent | 72648c25e623be336da83a15d21af6ca3d2e574d (diff) |
swrast: s/GLubyte/GLchan/ in a cast
Diffstat (limited to 'src/mesa/swrast')
-rw-r--r-- | src/mesa/swrast/s_texfetch_tmp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_texfetch_tmp.h b/src/mesa/swrast/s_texfetch_tmp.h index 3eebd13d7df..c63b2043c74 100644 --- 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 GLubyte *) texel; + const GLchan *rgba = (const GLchan *) 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]); |