mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-07 04:40:43 +08:00
android: add adaptive icons for 26. Fix references to icons.
This commit is contained in:
@@ -1072,7 +1072,7 @@ class EngineSurface extends SurfaceView implements SurfaceHolder.Callback, View.
|
||||
|
||||
// Android may force only-landscape app to portait during lock
|
||||
// Just don't notify engine in that case
|
||||
if( width > height || mEngThread == null )
|
||||
if( width > height )
|
||||
XashActivity.onNativeResize( width, height );
|
||||
|
||||
XashActivity.nativeSetSurface( holder.getSurface() );
|
||||
|
||||
Reference in New Issue
Block a user