diff options
author | Marek Olšák <maraeo@gmail.com> | 2013-03-22 15:41:26 +0100 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2013-04-16 18:07:44 +0200 |
commit | f6befdb5f9d736287784b894b259bd5dc3d07fc4 (patch) | |
tree | 1af5a51afc75ac09adc7651154b9ee82444125fe /tests/spec/arb_debug_output | |
parent | 6a531205d131f2496468eea6a0582edb86906d1c (diff) |
Rework the PIGLIT_GL_VISUAL flags, fix RGB vs RGBA vs ALPHA confusion
Changes:
- SINGLE is removed, because its value was 0
- ALPHA is removed, because it becomes redundant with this change
- RGB asks for an RGB visual
- RGBA asks for an RGBA visual
- if RGB and RGBA are unset, it asks for a visual without RGB(A)
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
v2: fix glut
Diffstat (limited to 'tests/spec/arb_debug_output')
-rw-r--r-- | tests/spec/arb_debug_output/api_error.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/spec/arb_debug_output/api_error.c b/tests/spec/arb_debug_output/api_error.c index 6dc25a42b..61467c32d 100644 --- a/tests/spec/arb_debug_output/api_error.c +++ b/tests/spec/arb_debug_output/api_error.c @@ -28,7 +28,7 @@ PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; - config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_ALPHA | PIGLIT_GL_VISUAL_DOUBLE; + config.window_visual = PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_DOUBLE; PIGLIT_GL_TEST_CONFIG_END |