diff options
author | Brian Paul <[email protected]> | 2012-01-13 09:41:35 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-01-13 09:51:28 -0700 |
commit | b0af16abf1153da243b856e55f59ca1945860f47 (patch) | |
tree | 48a13bc5d977f747ecf13dbf15d451669b79be51 | |
parent | 540a8b2cfdedbf5a635f33c720aa795fae74e08b (diff) |
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 <[email protected]>
-rw-r--r-- | src/mesa/main/format_pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/format_pack.c b/src/mesa/main/format_pack.c index 0982c9af4e9..85b2c691c54 100644 --- a/src/mesa/main/format_pack.c +++ b/src/mesa/main/format_pack.c @@ -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]); } |