[Piglit] [PATCH] depthstencil-render-miplevels: use double-buffered visual

Eric Anholt eric at anholt.net
Thu Oct 10 20:14:16 CEST 2013


Jordan Justen <jordan.l.justen at intel.com> writes:

> Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
> ---
>  tests/texturing/depthstencil-render-miplevels.cpp |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/texturing/depthstencil-render-miplevels.cpp b/tests/texturing/depthstencil-render-miplevels.cpp
> index 813ca6f..a6d5df0 100644
> --- a/tests/texturing/depthstencil-render-miplevels.cpp
> +++ b/tests/texturing/depthstencil-render-miplevels.cpp
> @@ -92,7 +92,7 @@ PIGLIT_GL_TEST_CONFIG_BEGIN
>  
>  	config.window_width = 512;
>  	config.window_height = 512;
> -	config.window_visual = PIGLIT_GL_VISUAL_RGB;
> +	config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE;

Commit message should probably note that this is so that the drawing and
piglit_present_results() actually show up as expected.  Fix that, and:

Reviewed-by: Eric Anholt <eric at anholt.net>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20131010/8d30c040/attachment.pgp>


More information about the Piglit mailing list