diff options
author | Chia-I Wu <[email protected]> | 2011-10-22 22:17:31 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2011-11-03 15:09:44 +0800 |
commit | d8ba30af11f1894fcdd9138a8bc71ff054932bb6 (patch) | |
tree | 5548ad42d88176d964c0a63f348242b379481b76 /src | |
parent | 2903816aadb281716b6c59a5a48aeadb84a08f50 (diff) |
mesa: fix a logic error in glFramebufferTexture2D
Unrecognized texture target should give an error.
Reviewed-by: Brian Paul <[email protected]>
Acked-by: Jakob Bornecrantz <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/fbobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index ff46570bf16..bcebf124001 100644 --- 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_FALSE; + error = GL_TRUE; } if (error) { |