projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ee1df0
)
gallium: Fix typeo in mipmap filter for GL_UNSIGNED_SHORT_1_5_5_5_REV
author
Brian Paul
<brianp@vmware.com>
Fri, 19 Dec 2008 23:14:48 +0000
(16:14 -0700)
committer
Brian Paul
<brianp@vmware.com>
Tue, 6 Jan 2009 15:08:26 +0000
(08:08 -0700)
This is copied from Ian's commit
a330933bb75c38148668637cd22b90d75d39506f
src/gallium/auxiliary/util/u_gen_mipmap.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_gen_mipmap.c
b/src/gallium/auxiliary/util/u_gen_mipmap.c
index
5afc52b
..
b0de596
100644
(file)
--- 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] & 0x
1
f;
const int rowAg0 = (rowA[j] >> 5) & 0x1f;
const int rowAg1 = (rowA[k] >> 5) & 0x1f;
const int rowBg0 = (rowB[j] >> 5) & 0x1f;