diff options
author | Brian Paul <[email protected]> | 2008-12-19 16:14:48 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-01-06 08:08:26 -0700 |
commit | 62bf6cf6c7b560f59ec72ad138e40383ee47de12 (patch) | |
tree | d7401c97df587862585a7e09af96dc136c6cb835 | |
parent | 8ee1df065234eaf27c53c03bdf6e4ad487bc326d (diff) |
gallium: Fix typeo in mipmap filter for GL_UNSIGNED_SHORT_1_5_5_5_REV
This is copied from Ian's commit a330933bb75c38148668637cd22b90d75d39506f
-rw-r--r-- | src/gallium/auxiliary/util/u_gen_mipmap.c | 2 |
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; |