summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-12-19 16:14:48 -0700
committerBrian Paul <[email protected]>2009-01-06 08:08:26 -0700
commit62bf6cf6c7b560f59ec72ad138e40383ee47de12 (patch)
treed7401c97df587862585a7e09af96dc136c6cb835 /src/gallium/auxiliary/util
parent8ee1df065234eaf27c53c03bdf6e4ad487bc326d (diff)
gallium: Fix typeo in mipmap filter for GL_UNSIGNED_SHORT_1_5_5_5_REV
This is copied from Ian's commit a330933bb75c38148668637cd22b90d75d39506f
Diffstat (limited to 'src/gallium/auxiliary/util')
-rw-r--r--src/gallium/auxiliary/util/u_gen_mipmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_gen_mipmap.c b/src/gallium/auxiliary/util/u_gen_mipmap.c
index 5afc52ba359..b0de5968e9d 100644
--- a/src/gallium/auxiliary/util/u_gen_mipmap.c
+++ b/src/gallium/auxiliary/util/u_gen_mipmap.c
@@ -420,7 +420,7 @@ do_row(enum dtype datatype, uint comps, int srcWidth,
const int rowAr0 = rowA[j] & 0x1f;
const int rowAr1 = rowA[k] & 0x1f;
const int rowBr0 = rowB[j] & 0x1f;
- const int rowBr1 = rowB[k] & 0xf;
+ const int rowBr1 = rowB[k] & 0x1f;
const int rowAg0 = (rowA[j] >> 5) & 0x1f;
const int rowAg1 = (rowA[k] >> 5) & 0x1f;
const int rowBg0 = (rowB[j] >> 5) & 0x1f;