aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2014-09-19 08:51:33 -0600
committerBrian Paul <brianp@vmware.com>2014-09-23 16:47:26 -0600
commitccb3df4d3ed4bcf0962206cb8c74ca3b42e3c9fd (patch)
tree6d03f08904866f0f3e9241e5a9c76fdcaaa02727
parentcd52df31450b9a6d43359b3f308158502d4072a4 (diff)
downloadpiglit-ccb3df4d3ed4bcf0962206cb8c74ca3b42e3c9fd.tar.gz
fp-indirections2: use default window size
-rw-r--r--tests/shaders/fp-indirections2.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/shaders/fp-indirections2.c b/tests/shaders/fp-indirections2.c
index 5cf09eb20..a5d9e24d8 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);