[Piglit] [PATCH] fix the fbo bind error check. a GL_INVALID_OPERATION error should be generated, instead of GL_INVALID_VALUE

Jin Zhou zhoujin10 at gmail.com
Mon Dec 9 02:44:57 PST 2013


From: Jin Zhou<jin.zhou at amd.com>

diff --git a/tests/fbo/fbo-bind-renderbuffer.c b/tests/fbo/fbo-bind-renderbuffer.c
index 50c8c7f..3b2b305 100644
--- a/tests/fbo/fbo-bind-renderbuffer.c
+++ b/tests/fbo/fbo-bind-renderbuffer.c
@@ -64,6 +64,7 @@ test_binding(GLboolean bindRenderbuffer)
                                 GL_RENDERBUFFER_EXT, rb);
 
    err = glGetError();
+
    return err;
 }
 
-- 
1.7.9.5



More information about the Piglit mailing list