diff options
author | Chad Versace <chad.versace@linux.intel.com> | 2012-09-22 16:04:35 +0200 |
---|---|---|
committer | Chad Versace <chad.versace@linux.intel.com> | 2012-10-09 19:08:29 -0700 |
commit | 15e7655425bd1b14824fba91015c4bc6c1b8b359 (patch) | |
tree | 73d0aad432aaa710b93daaa3f5a8c90db6c15295 /tests/hiz/hiz-stencil-read-fbo-d0-s8.c | |
parent | b8ec67144506f806780c06f00252c421811b238a (diff) |
util,tests: Replace GLUT visual enums with PIGLTI_GL_VISUAL enums (v2)
I'm trying to transition Piglit from using GLUT to using Waffle. That
requires either killing or wrapping all GLUT code.
Define enum piglit_gl_visual in piglit-framework.h, of which each value
matches its corresponding GLUT visual enum.
Do the following substitution in all util and test sources:
GLUT_RGB -> PIGLIT_GL_VISUAL_RGB
GLUT_RGBA -> PIGLIT_GL_VISUAL_RGBA
GLUT_DOUBLE -> PIGLIT_GL_VISUAL_DOUBLE
GLUT_ACCUM -> PIGLIT_GL_VISUAL_ACCUM
GLUT_ALPHA -> PIGLIT_GL_VISUAL_ALPHA
GLUT_DEPTH -> PIGLIT_GL_VISUAL_DEPTH
GLUT_STENCIL -> PIGLIT_GL_VISUAL_STENCIL
v2: Remove GLUT_INDEX, for Ken.
Reviewed-and-tested-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Tested-by: Paul Berry <stereotype441@gmail.com>
Acked-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'tests/hiz/hiz-stencil-read-fbo-d0-s8.c')
-rw-r--r-- | tests/hiz/hiz-stencil-read-fbo-d0-s8.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hiz/hiz-stencil-read-fbo-d0-s8.c b/tests/hiz/hiz-stencil-read-fbo-d0-s8.c index af7543943..b2c289304 100644 --- a/tests/hiz/hiz-stencil-read-fbo-d0-s8.c +++ b/tests/hiz/hiz-stencil-read-fbo-d0-s8.c @@ -42,7 +42,7 @@ PIGLIT_GL_TEST_MAIN( 400 /*window_width*/, 400 /*window_height*/, - GLUT_RGB) + PIGLIT_GL_VISUAL_RGB) struct hiz_fbo_options fbo_options = { GL_RGBA, |