[Piglit] [PATCH 4/4] util: change default window size to 160 x 160

Jose Fonseca jfonseca at vmware.com
Wed May 7 04:21:16 PDT 2014



----- Original Message -----
> To avoid "Got spurious window resize" warnings and SKIP result
> on Windows 8.  A while back we had changed the default window
> size for Windows 7.
> ---
>  tests/util/piglit-framework-gl.h |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/tests/util/piglit-framework-gl.h
> b/tests/util/piglit-framework-gl.h
> index 9824372..d0de8e8 100644
> --- a/tests/util/piglit-framework-gl.h
> +++ b/tests/util/piglit-framework-gl.h
> @@ -269,8 +269,8 @@ piglit_gl_test_run(int argc, char *argv[],
>                  /* seems to be 116 pixels.  When the window size is */
>                  \
>                  /* unexpectedly resized, tests are marked as "WARN". */
>                  \
>                  /* Let's use a larger default to avoid that. */
>                  \
> -                config.window_width = 150;
> \
> -                config.window_height = 150;
> \
> +                config.window_width = 160;
> \
> +                config.window_height = 160;
> \
>                                                                               \
>                  /* Open a new scope so that tests can declare locals */
>                  \
>                  /* between here and PIGLIT_GL_TEST_CONFIG_END. */
>                  \
> --
> 1.7.10.4
> 
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> https://urldefense.proofpoint.com/v1/url?u=http://lists.freedesktop.org/mailman/listinfo/piglit&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=NMr9uy2iTjWVixC0wOcYCWEIYhfo80qKwRgdodpoDzA%3D%0A&m=nP1e4WrHxeA7KZ7tGGhTBkqTfeyQS4cttvnfsI%2BlfBM%3D%0A&s=43068625aa58553f85e92106d24b51653e4cccb1ddcf8dbf6a62d1b20bf25688
> 

Series is

Reviewed-by: Jose Fonseca <jfonseca at vmware.com>


More information about the Piglit mailing list