diff options
author | Chad Versace <chad.versace@linux.intel.com> | 2012-06-11 21:14:42 -0700 |
---|---|---|
committer | Chad Versace <chad.versace@linux.intel.com> | 2012-06-20 16:49:34 -0700 |
commit | 29bbf12760b537a2a3b30d18ed22f88c6c89f7f7 (patch) | |
tree | 5643fc32eb96b09f98b2955335a4b07e7bc51183 /tests/spec/arb_vertex_program/getlocal4d-with-error.c | |
parent | 7b90e1b18fd694014d453139ecdbbb31c7625999 (diff) |
tests: Let each test define main()
Each test that did not define main() now does so using
PIGLIT_GL_TEST_MAIN().
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'tests/spec/arb_vertex_program/getlocal4d-with-error.c')
-rw-r--r-- | tests/spec/arb_vertex_program/getlocal4d-with-error.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/spec/arb_vertex_program/getlocal4d-with-error.c b/tests/spec/arb_vertex_program/getlocal4d-with-error.c index 77a82cb0d..f7a453c8a 100644 --- a/tests/spec/arb_vertex_program/getlocal4d-with-error.c +++ b/tests/spec/arb_vertex_program/getlocal4d-with-error.c @@ -30,8 +30,10 @@ #include "piglit-util.h" -int piglit_width = 64, piglit_height = 64; -int piglit_window_mode = GLUT_RGB | GLUT_DOUBLE | GLUT_ALPHA; +PIGLIT_GL_TEST_MAIN( + 64 /*window_width*/, + 64 /*window_height*/, + GLUT_RGB | GLUT_DOUBLE | GLUT_ALPHA) void piglit_init(int argc, char **argv) |