SDL: futile attempt to draw over display cutout area

This commit is contained in:
Sergii Pylypenko
2021-05-21 02:27:12 +03:00
parent 134b5c6bb6
commit c5d8e8b3c7
3 changed files with 66 additions and 50 deletions

View File

@@ -1102,9 +1102,6 @@ class DemoGLSurfaceView extends GLSurfaceView_SDL {
if( nativeKey( keyCode, 0, event.getUnicodeChar(), DifferentTouchInput.processGamepadDeviceId(event.getDevice()) ) == 0 )
return super.onKeyUp(keyCode, event);
//if( keyCode == KeyEvent.KEYCODE_BACK || keyCode == KeyEvent.KEYCODE_MENU )
// DimSystemStatusBar.get().dim(mParent._videoLayout);
return true;
}