mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-09 13:51:45 +08:00
platform/android: rewrite egl part to separate not android-specific file
This commit is contained in:
@@ -879,6 +879,7 @@ void Platform_RunEvents( void )
|
||||
{
|
||||
// (*jni.env)->CallStaticVoidMethod( jni.env, jni.actcls, jni.toggleEGL, 0 );
|
||||
// (*jni.env)->CallStaticVoidMethod( jni.env, jni.actcls, jni.toggleEGL, 1 );
|
||||
Android_UpdateSurface( false );
|
||||
Android_UpdateSurface( true );
|
||||
SetBits( gl_vsync.flags, FCVAR_CHANGED ); // set swap interval
|
||||
VID_SetMode();
|
||||
|
||||
Reference in New Issue
Block a user