aboutsummaryrefslogtreecommitdiff
path: root/tests/bugs/crash-cubemap-order.c
diff options
context:
space:
mode:
authorChad Versace <chad.versace@linux.intel.com>2012-06-11 20:20:39 -0700
committerChad Versace <chad.versace@linux.intel.com>2012-06-20 16:48:38 -0700
commit7b90e1b18fd694014d453139ecdbbb31c7625999 (patch)
tree4d4a8e3835791b552de4bdbeac1bccdc56d28246 /tests/bugs/crash-cubemap-order.c
parent29903411b809566f740d73f28a2fb4de13b62235 (diff)
util: Define PIGLIT_GL_TEST_MAIN() and friends (v2)
PIGLIT_GL_TEST_MAIN() defines a boilerplate main() that should be suitable for most OpenGL test executables. This patch redefines piglit-framework.c:main() with PIGLIT_GL_TEST_MAIN(). In an upcoming patch, each test executable will define its own main() likewise. This patch also defines the following, which are used by PIGLIT_GL_TEST_MAIN(): struct piglit_gl_test_info piglit_gl_test_info_init() piglit_gl_test_run() Even though piglit_gl_test_run() takes an info struct as input, it does not yet use that info struct. A follow-on patch fixes this. v2: Coalesce definitions of PIGLIT_EXTERN_C_{BEGIN,END}, per Ken. 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/crash-cubemap-order.c')
0 files changed, 0 insertions, 0 deletions