[Piglit] [PATCH 6/8] enable -fbo for general/provoking-vertex

Brian Paul brianp at vmware.com
Mon Apr 30 07:08:48 PDT 2012


On 04/28/2012 06:44 PM, Chris Forbes wrote:
> ---
>   tests/general/provoking-vertex.c |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/general/provoking-vertex.c b/tests/general/provoking-vertex.c
> index d8d6d77..534d2f9 100644
> --- a/tests/general/provoking-vertex.c
> +++ b/tests/general/provoking-vertex.c
> @@ -80,7 +80,7 @@ piglit_display(void)
>   	pass = pass&&  piglit_probe_pixel_rgb(225, 130, blue);
>
>   	glFinish();
> -	glutSwapBuffers();
> +	piglit_present_results();
>
>   	return pass ? PIGLIT_PASS : PIGLIT_FAIL;
>   }

I think the glFinish() call could be removed too.  But feel free to do 
that in a follow-on patch.  There may be other tests with extraneous 
glFlush/Finish calls.

-Brian



More information about the Piglit mailing list