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

Ken Phillis Jr kphillisjr at gmail.com
Tue Dec 10 19:36:16 PST 2013


I think this patch needs to be reworked. I believe there should be more
than just adding a blank line.


On Mon, Dec 9, 2013 at 4:44 AM, Jin Zhou <zhoujin10 at gmail.com> wrote:

> 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
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20131210/5b75d4ad/attachment.html>


More information about the Piglit mailing list