mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 13:30:12 +01:00
mesa: Fix copy'n'paste problem in al1616 texel fetch.
This commit is contained in:
parent
77ff3a5619
commit
b47f7316da
1 changed files with 1 additions and 1 deletions
|
|
@ -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(GLushort, texImage, i, j, k, 1);
|
||||
const GLuint s = *TEXEL_ADDR(GLuint, texImage, i, j, k, 1);
|
||||
texel[RCOMP] =
|
||||
texel[GCOMP] =
|
||||
texel[BCOMP] = USHORT_TO_FLOAT( s & 0xffff );
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue