From bdddf1cc26541d730bac309bd63dfdcaf4aea513 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 20 Sep 2011 21:06:19 -0600 Subject: [PATCH] swrast: s/GLubyte/GLchan/ in a cast --- src/mesa/swrast/s_texfetch_tmp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]); -- 2.30.2