OpenGLRenderer: Fix initial depth mode

This commit is contained in:
Jérôme Leclercq
2021-07-17 21:07:15 +02:00
parent b5045a2c59
commit 1ee2122b3d

View File

@@ -393,6 +393,7 @@ namespace Nz::GL
m_state.viewport = { res[0], res[1], res[2], res[3] };
m_state.renderStates.frontFace = FrontFace::CounterClockwise; //< OpenGL default front face is counter-clockwise
m_state.renderStates.depthCompare = RendererComparison::Less; //< OpenGL default depth mode is GL_LESS
EnableVerticalSync(false);