[Piglit] [PATCH 4/4] fp-indirections2: use default window size

Brian Paul brianp at vmware.com
Fri Sep 19 08:12:35 PDT 2014


---
 tests/shaders/fp-indirections2.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tests/shaders/fp-indirections2.c b/tests/shaders/fp-indirections2.c
index 5cf09eb..a5d9e24 100644
--- a/tests/shaders/fp-indirections2.c
+++ b/tests/shaders/fp-indirections2.c
@@ -40,8 +40,6 @@ PIGLIT_GL_TEST_CONFIG_BEGIN
 
 	config.supports_gl_compat_version = 10;
 
-	config.window_width = TEXTURE_SIZE;
-	config.window_height = TEXTURE_SIZE;
 	config.window_visual = PIGLIT_GL_VISUAL_RGB;
 
 PIGLIT_GL_TEST_CONFIG_END
@@ -210,6 +208,9 @@ piglit_display(void)
 	unsigned int dim;
 	unsigned int samples;
 
+        assert(piglit_width >= TEXTURE_SIZE);
+        assert(piglit_height >= TEXTURE_SIZE);
+
 	piglit_ortho_projection(piglit_width, piglit_height, GL_FALSE);
 	glClear(GL_COLOR_BUFFER_BIT);
 
-- 
1.7.10.4



More information about the Piglit mailing list