projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01e0aae
)
mesa: Add missing else in do_row_3D
author
Brian Rogers
<brian@xyzw.org>
Sun, 17 Oct 2010 21:21:06 +0000
(14:21 -0700)
committer
Brian Paul
<brianp@vmware.com>
Mon, 18 Oct 2010 14:11:04 +0000
(08:11 -0600)
This fixes erroneous "bad format in do_row()" messages
Signed-off-by: Brian Paul <brianp@vmware.com>
src/mesa/main/mipmap.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/mipmap.c
b/src/mesa/main/mipmap.c
index d65aecdf3e50a5ae75a9153fe794a4d5b7522404..11d5a0519e03913008e68e42c9e8834e23981476 100644
(file)
--- a/
src/mesa/main/mipmap.c
+++ b/
src/mesa/main/mipmap.c
@@
-606,7
+606,7
@@
do_row_3D(GLenum datatype, GLuint comps, GLint srcWidth,
FILTER_3D(0);
}
}
- if ((datatype == GL_BYTE) && (comps == 4)) {
+
else
if ((datatype == GL_BYTE) && (comps == 4)) {
DECLARE_ROW_POINTERS(GLbyte, 4);
for (i = j = 0, k = k0; i < (GLuint) dstWidth;