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 */ }; /**