mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
mesa: s/GLushort/GLubyte/ in pack_ubyte_AL44()
The AL44 format occupies one byte, not two.
NOTE: This is a candidate for the 8.0 branch.
Reviewed-by: José Fonseca <jfonseca@vmware.com>
(cherry picked from commit b0af16abf1)
This commit is contained in:
parent
eb8063361e
commit
8b7f6de8b9
1 changed files with 1 additions and 1 deletions
|
|
@ -636,7 +636,7 @@ pack_float_ARGB1555_REV(const GLfloat src[4], void *dst)
|
|||
static void
|
||||
pack_ubyte_AL44(const GLubyte src[4], void *dst)
|
||||
{
|
||||
GLushort *d = ((GLushort *) dst);
|
||||
GLubyte *d = ((GLubyte *) dst);
|
||||
*d = PACK_COLOR_44(src[ACOMP], src[RCOMP]);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue