ANDROID: Disable depth test as we don't use it in final rendering
This commit is contained in:
parent
f0aef09021
commit
ebeb731ad7
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue