From: José Fonseca Date: Wed, 10 Jun 2009 20:25:54 +0000 (+0100) Subject: mesa: Fix typo in bitmask. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8fa8669aeba45d1b57f3cc41429578d55cad378a;p=mesa.git mesa: Fix typo in bitmask. --- diff --git a/src/mesa/main/image.c b/src/mesa/main/image.c index 332febf91f9..01fbe40a03b 100644 --- a/src/mesa/main/image.c +++ b/src/mesa/main/image.c @@ -2872,7 +2872,7 @@ extract_uint_indexes(GLuint n, GLuint indexes[], } else { for (i = 0; i < n; i++) - indexes[i] = s[i] & 0xfff; /* lower 8 bits */ + indexes[i] = s[i] & 0xff; /* lower 8 bits */ } } break;