summaryrefslogtreecommitdiff
path: root/tests/spec/arb_vertex_buffer_object/mixed-immediate-and-vbo.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/spec/arb_vertex_buffer_object/mixed-immediate-and-vbo.c')
-rw-r--r--tests/spec/arb_vertex_buffer_object/mixed-immediate-and-vbo.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/spec/arb_vertex_buffer_object/mixed-immediate-and-vbo.c b/tests/spec/arb_vertex_buffer_object/mixed-immediate-and-vbo.c
index 2fe93d490..7b8c8701b 100644
--- a/tests/spec/arb_vertex_buffer_object/mixed-immediate-and-vbo.c
+++ b/tests/spec/arb_vertex_buffer_object/mixed-immediate-and-vbo.c
@@ -32,10 +32,13 @@
#include "piglit-util-gl-common.h"
-PIGLIT_GL_TEST_MAIN(
- 64 /*window_width*/,
- 64 /*window_height*/,
- PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_ALPHA)
+PIGLIT_GL_TEST_CONFIG_BEGIN
+
+ config.window_width = 64;
+ config.window_height = 64;
+ config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_ALPHA;
+
+PIGLIT_GL_TEST_CONFIG_END
static GLuint vbo;