OpenGL culling is now explicitly disabled in SFML's internal states
This commit is contained in:
parent
c4c2c77686
commit
3d02d4c795
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user