ANDROID: Disable depth test as we don't use it in final rendering

This commit is contained in:
Le Philousophe 2021-09-19 11:21:43 +02:00 committed by Paweł Kołodziejski
parent f0aef09021
commit ebeb731ad7

View file

@ -203,6 +203,9 @@ void AndroidGraphics3dManager::updateScreen() {
glViewport(0,0, JNI::egl_surface_width, JNI::egl_surface_height);
}
// We don't use depth stencil to draw on screen
glDisable(GL_DEPTH_TEST);
// clear pointer leftovers in dead areas
clearScreen(kClear);