diff --git a/osu.Framework.iOS/IOSWindow.cs b/osu.Framework.iOS/IOSWindow.cs index 674156ec76..c0ec669c76 100644 --- a/osu.Framework.iOS/IOSWindow.cs +++ b/osu.Framework.iOS/IOSWindow.cs @@ -12,6 +12,7 @@ using osu.Framework.Platform; using osu.Framework.Platform.SDL3; using SDL; +using static SDL.SDL3; using UIKit; namespace osu.Framework.iOS @@ -55,8 +56,9 @@ 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. - SDL3.SDL_iOSSetEventPump(SDL_bool.SDL_FALSE); - SDL3.SDL_iOSSetAnimationCallback(SDLWindowHandle, 1, &runFrame, ObjectHandle.Handle); + + SDL_SetiOSEventPump(SDL_bool.SDL_FALSE); + SDL_SetiOSAnimationCallback(SDLWindowHandle, 1, &runFrame, ObjectHandle.Handle); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvCdecl) })]