From 3d02d4c795529be5cc79d6336b82cd2c21fe3fae Mon Sep 17 00:00:00 2001 From: Laurent Gomila Date: Thu, 14 Jun 2012 18:05:47 +0200 Subject: [PATCH] OpenGL culling is now explicitly disabled in SFML's internal states --- src/SFML/Graphics/RenderTarget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/SFML/Graphics/RenderTarget.cpp b/src/SFML/Graphics/RenderTarget.cpp index 75fe9bc7d..603d8b3dc 100644 --- a/src/SFML/Graphics/RenderTarget.cpp +++ b/src/SFML/Graphics/RenderTarget.cpp @@ -262,6 +262,7 @@ void RenderTarget::resetGLStates() priv::ensureGlewInit(); // Define the default OpenGL states + glCheck(glDisable(GL_CULL_FACE)); glCheck(glDisable(GL_LIGHTING)); glCheck(glDisable(GL_DEPTH_TEST)); glCheck(glDisable(GL_ALPHA_TEST));