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
1 changed files with 1 additions and 0 deletions

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);