projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2903816
)
mesa: fix a logic error in glFramebufferTexture2D
author
Chia-I Wu
<olv@lunarg.com>
Sat, 22 Oct 2011 14:17:31 +0000
(22:17 +0800)
committer
Chia-I Wu
<olvaffe@gmail.com>
Thu, 3 Nov 2011 07:09:44 +0000
(15:09 +0800)
Unrecognized texture target should give an error.
Reviewed-by: Brian Paul <brianp@vmware.com>
Acked-by: Jakob Bornecrantz <jakob@vmware.com>
src/mesa/main/fbobject.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/fbobject.c
b/src/mesa/main/fbobject.c
index ff46570bf16c3b18a6e16a7475771ed28da4add2..bcebf12400158e00deb491b05a0d884508e4e688 100644
(file)
--- a/
src/mesa/main/fbobject.c
+++ b/
src/mesa/main/fbobject.c
@@
-2125,7
+2125,7
@@
_mesa_FramebufferTexture2DEXT(GLenum target, GLenum attachment,
error = !ctx->Extensions.EXT_texture_array;
break;
default:
- error = GL_
FALS
E;
+ error = GL_
TRU
E;
}
if (error) {