Skip to content

Commit

Permalink
platform/android: rewrite egl part to separate not android-specific file
Browse files Browse the repository at this point in the history
  • Loading branch information
mittorn committed Oct 26, 2023
1 parent f1a8efd commit 7013caa
Show file tree
Hide file tree
Showing 4 changed files with 542 additions and 203 deletions.
1 change: 1 addition & 0 deletions engine/platform/android/android_nosdl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Loading

0 comments on commit 7013caa

Please sign in to comment.