mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
mesa: s/short/ushort/ in unpack_SIGNED_RGBA_16()
This commit is contained in:
parent
ee09c1e1c3
commit
3b29631c33
1 changed files with 1 additions and 1 deletions
|
|
@ -947,7 +947,7 @@ unpack_SIGNED_RGBA_16(const void *src, GLfloat dst[4])
|
|||
static void
|
||||
unpack_RGBA_16(const void *src, GLfloat dst[4])
|
||||
{
|
||||
const GLshort *s = (const GLshort *) src;
|
||||
const GLushort *s = (const GLushort *) src;
|
||||
dst[RCOMP] = USHORT_TO_FLOAT( s[0] );
|
||||
dst[GCOMP] = USHORT_TO_FLOAT( s[1] );
|
||||
dst[BCOMP] = USHORT_TO_FLOAT( s[2] );
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue