diff --git a/Qt/QtHost.cpp b/Qt/QtHost.cpp index bc03fb1ee2..5146ec6584 100644 --- a/Qt/QtHost.cpp +++ b/Qt/QtHost.cpp @@ -432,8 +432,7 @@ void NativeInitGraphics() void NativeRender() { - EnableFZ(); - // Clearing the screen at the start of the frame is an optimization for tiled mobile GPUs, as it then doesn't need to keep it around between frames. + // Clearing the screen at the start of the frame is an optimization for tiled mobile GPUs, as it then doesn't need to keep it around between frames. glClearColor(0,0,0,1); glClear(GL_DEPTH_BUFFER_BIT | GL_COLOR_BUFFER_BIT | GL_STENCIL_BUFFER_BIT); diff --git a/UI/NativeApp.cpp b/UI/NativeApp.cpp index 222bf51a0d..4ac617d46d 100644 --- a/UI/NativeApp.cpp +++ b/UI/NativeApp.cpp @@ -569,8 +569,6 @@ void TakeScreenshot() { } void NativeRender() { - EnableFZ(); - glstate.depthWrite.set(GL_TRUE); glstate.colorMask.set(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE);