- default-enable GL_DEPTH_CLAMP for the GLES renderer.

This brings it in line with the other backends.
This commit is contained in:
Christoph Oelckers 2021-12-08 00:19:49 +01:00
parent 5aa4243327
commit a8c4d61fab

View file

@ -138,6 +138,7 @@ void OpenGLFrameBuffer::InitializeState()
glDisable(GL_POLYGON_OFFSET_FILL);
glEnable(GL_BLEND);
if (gles.depthClampAvailable) glEnable(GL_DEPTH_CLAMP);
glDisable(GL_DEPTH_TEST);