mirror of
https://github.com/SFML/SFML.git
synced 2024-12-01 15:51:04 +08:00
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();
|
priv::ensureGlewInit();
|
||||||
|
|
||||||
// Define the default OpenGL states
|
// Define the default OpenGL states
|
||||||
|
glCheck(glDisable(GL_CULL_FACE));
|
||||||
glCheck(glDisable(GL_LIGHTING));
|
glCheck(glDisable(GL_LIGHTING));
|
||||||
glCheck(glDisable(GL_DEPTH_TEST));
|
glCheck(glDisable(GL_DEPTH_TEST));
|
||||||
glCheck(glDisable(GL_ALPHA_TEST));
|
glCheck(glDisable(GL_ALPHA_TEST));
|
||||||
|
Loading…
Reference in New Issue
Block a user