projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3eeeaf0
)
fix ugly copy/paste error in mipmap generation code
author
Roland Scheidegger
<sroland@vmware.com>
Tue, 31 Mar 2009 01:18:35 +0000
(
03:18
+0200)
committer
Roland Scheidegger
<sroland@vmware.com>
Tue, 31 Mar 2009 01:19:29 +0000
(
03:19
+0200)
src/mesa/main/mipmap.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/mipmap.c
b/src/mesa/main/mipmap.c
index 7001211a1313771a7b7e4378a0510461c6ab2f07..bc8658beffe859a194ed3b7ea89343cfae4b2a1d 100644
(file)
--- a/
src/mesa/main/mipmap.c
+++ b/
src/mesa/main/mipmap.c
@@
-195,7
+195,7
@@
do_row(GLenum datatype, GLuint comps, GLint srcWidth,
}
}
- if (datatype == GL_BYTE && comps == 4) {
+
else
if (datatype == GL_BYTE && comps == 4) {
GLuint i, j, k;
const GLbyte(*rowA)[4] = (const GLbyte(*)[4]) srcRowA;
const GLbyte(*rowB)[4] = (const GLbyte(*)[4]) srcRowB;