summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-06-10 21:25:54 +0100
committerJosé Fonseca <jfonseca@vmware.com>2009-06-10 21:25:54 +0100
commit8fa8669aeba45d1b57f3cc41429578d55cad378a (patch)
treebd0e67f223ebb6230949d24ca1832920962f6cfc /src/mesa
parent0a4fcabe4451af6472245e2630f8c8834aa9d351 (diff)
mesa: Fix typo in bitmask.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/image.c b/src/mesa/main/image.c
index 332febf91f..01fbe40a03 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;