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/bugs/fdo25614-genmipmap.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/bugs/fdo25614-genmipmap.c')
-rw-r--r-- | tests/bugs/fdo25614-genmipmap.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/bugs/fdo25614-genmipmap.c b/tests/bugs/fdo25614-genmipmap.c index aaaa3f964..15f208d2d 100644 --- a/tests/bugs/fdo25614-genmipmap.c +++ b/tests/bugs/fdo25614-genmipmap.c @@ -40,9 +40,10 @@ #define TEST_COLS 5 #define BOX_SIZE (1 << (TEST_COLS + 1)) -int piglit_width = (BOX_SIZE + 2) * TEST_COLS + 1; -int piglit_height = (BOX_SIZE + 1) + 1; -int piglit_window_mode = GLUT_RGB | GLUT_DOUBLE; +PIGLIT_GL_TEST_MAIN( + (BOX_SIZE + 2) * TEST_COLS + 1 /*window_width*/, + (BOX_SIZE + 1) + 1 /*window_height*/, + GLUT_RGB | GLUT_DOUBLE) static GLuint tex[1]; |