aboutsummaryrefslogtreecommitdiff
path: root/tests/util/piglit-framework-gl.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/util/piglit-framework-gl.h')
-rw-r--r--tests/util/piglit-framework-gl.h20
1 files changed, 5 insertions, 15 deletions
diff --git a/tests/util/piglit-framework-gl.h b/tests/util/piglit-framework-gl.h
index bc3a3cde..f6ad839a 100644
--- a/tests/util/piglit-framework-gl.h
+++ b/tests/util/piglit-framework-gl.h
@@ -34,25 +34,15 @@
* Each enum has the same value of its corresponding GLUT enum. That is, for
* each X, `PIGLIT_GL_VISUAL_X == GLUT_X`.
*
- * Note that PIGLIT_GL_VISUAL_RGBA is an alias for PIGLIT_GL_VISUAL_RGB and is
- * always selected. From the documentation of glutInitDisplayMode in
- * Kilgard's GLUT:
- *
- * Note that GLUT_RGBA selects the RGBA color model, but it does not
- * request any bits of alpha (sometimes called an alpha buffer or
- * destination alpha) be allocated. To request alpha, specify GLUT_ALPHA.
- *
* \see piglit_gl_test_config::window_visual
*/
enum piglit_gl_visual {
- PIGLIT_GL_VISUAL_RGB = 0,
- PIGLIT_GL_VISUAL_RGBA = 0,
- PIGLIT_GL_VISUAL_SINGLE = 0,
- PIGLIT_GL_VISUAL_DOUBLE = 1 << 1,
- PIGLIT_GL_VISUAL_ACCUM = 1 << 2,
- PIGLIT_GL_VISUAL_ALPHA = 1 << 3,
+ PIGLIT_GL_VISUAL_RGB = 1 << 0,
+ PIGLIT_GL_VISUAL_RGBA = 1 << 1,
+ PIGLIT_GL_VISUAL_DOUBLE = 1 << 2,
+ PIGLIT_GL_VISUAL_ACCUM = 1 << 3,
PIGLIT_GL_VISUAL_DEPTH = 1 << 4,
- PIGLIT_GL_VISUAL_STENCIL = 1 << 5,
+ PIGLIT_GL_VISUAL_STENCIL = 1 << 5
};
/**