From: Chia-I Wu <o...@lunarg.com>

Unrecognized texture target should give an error.
---
 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 c56062a..5cc4417 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) {
-- 
1.7.6.3

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to