Skip to content

Commit

Permalink
Don't disable UIKit event pump ever
Browse files Browse the repository at this point in the history
Disabling UIKit event pump prevents the app from receiving general app notifications. See: https://github.com/libsdl-org/SDL/blob/45fc548562d7313e0066b99ca7279935e90e4fb1/src/video/uikit/SDL_uikitevents.m#L52-L66
  • Loading branch information
frenzibyte committed Dec 11, 2024
1 parent 3134295 commit 3ef7542
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions osu.Framework.iOS/IOSWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ protected override unsafe void RunMainLoop()
// iOS may be a good forward direction if this ever comes up, as a user may see a potentially higher
// frame rate with multi-threaded mode turned on, but it is going to give them worse input latency
// and higher power usage.

SDL_SetiOSEventPump(false);
SDL_SetiOSAnimationCallback(SDLWindowHandle, 1, &runFrame, ObjectHandle.Handle);
}

Expand Down

0 comments on commit 3ef7542

Please sign in to comment.