Skip to content

Commit

Permalink
OpenGL culling is now explicitly disabled in SFML's internal states
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentGomila committed Jun 14, 2012
1 parent c4c2c77 commit 3d02d4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/SFML/Graphics/RenderTarget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 3d02d4c

Please sign in to comment.