aboutsummaryrefslogtreecommitdiff
path: root/tests/shaders/fp-long-alu.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shaders/fp-long-alu.c')
-rw-r--r--tests/shaders/fp-long-alu.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/shaders/fp-long-alu.c b/tests/shaders/fp-long-alu.c
index 784e2b96..29d1145d 100644
--- a/tests/shaders/fp-long-alu.c
+++ b/tests/shaders/fp-long-alu.c
@@ -36,10 +36,13 @@
#include "piglit-util-gl-common.h"
-PIGLIT_GL_TEST_MAIN(
- 32 /*window_width*/,
- 32 /*window_height*/,
- PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_ALPHA)
+PIGLIT_GL_TEST_CONFIG_BEGIN
+
+ config.window_width = 32;
+ config.window_height = 32;
+ config.window_visual = PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_ALPHA;
+
+PIGLIT_GL_TEST_CONFIG_END
int max_alu_instructions;