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

Brian Paul brianp at vmware.com
Fri May 2 14:53:48 PDT 2014


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



More information about the Piglit mailing list