summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/image.c
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-06-10 21:25:54 +0100
committerJosé Fonseca <[email protected]>2009-06-10 21:25:54 +0100
commit8fa8669aeba45d1b57f3cc41429578d55cad378a (patch)
treebd0e67f223ebb6230949d24ca1832920962f6cfc /src/mesa/main/image.c
parent0a4fcabe4451af6472245e2630f8c8834aa9d351 (diff)
mesa: Fix typo in bitmask.
Diffstat (limited to 'src/mesa/main/image.c')
-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 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;