mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-28 18:20:23 +01:00
swrast: s/GLubyte/GLchan/ in a cast
This commit is contained in:
parent
72648c25e6
commit
bdddf1cc26
1 changed files with 1 additions and 1 deletions
|
|
@ -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]);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue