summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2012-01-13 09:41:35 -0700
committerBrian Paul <brianp@vmware.com>2012-01-13 09:51:28 -0700
commitb0af16abf1153da243b856e55f59ca1945860f47 (patch)
tree48a13bc5d977f747ecf13dbf15d451669b79be51
parent540a8b2cfdedbf5a635f33c720aa795fae74e08b (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 <jfonseca@vmware.com>
-rw-r--r--src/mesa/main/format_pack.c2
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]);
}