From 0424e249936a7af0d5bb6c4afcb74195b93ff359 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 22 Mar 2013 19:18:09 +0100 Subject: [PATCH] Reordered Renderer::Feature enum. --- src/Renderer.h | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/Renderer.h b/src/Renderer.h index 5edbd0db2..e916fbc95 100644 --- a/src/Renderer.h +++ b/src/Renderer.h @@ -77,6 +77,11 @@ class MAGNUM_EXPORT Renderer { */ Blending = GL_BLEND, + DepthTest = GL_DEPTH_TEST, /**< Depth test */ + Dithering = GL_DITHER, /**< Dithering (enabled by default) */ + + FaceCulling = GL_CULL_FACE, /**< Back face culling */ + #ifndef MAGNUM_TARGET_GLES /** * Logical operation @@ -85,7 +90,9 @@ class MAGNUM_EXPORT Renderer { * available in OpenGL ES. */ LogicOperation = GL_COLOR_LOGIC_OP, + #endif + #ifndef MAGNUM_TARGET_GLES /** * Depth clamping. If enabled, ignores near and far clipping plane. * @requires_gl32 %Extension @extension{ARB,depth_clamp} @@ -99,10 +106,8 @@ class MAGNUM_EXPORT Renderer { * @see setScissor() */ ScissorTest = GL_SCISSOR_TEST, - DepthTest = GL_DEPTH_TEST, /**< Depth test */ - StencilTest = GL_STENCIL_TEST, /**< Stencil test */ - Dithering = GL_DITHER, /**< Dithering (enabled by default) */ - FaceCulling = GL_CULL_FACE /**< Back face culling */ + + StencilTest = GL_STENCIL_TEST /**< Stencil test */ }; /**