mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- default-enable GL_DEPTH_CLAMP for the GLES renderer.
This brings it in line with the other backends.
This commit is contained in:
parent
5aa4243327
commit
a8c4d61fab
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue