ios: Renamed APIs that referred to "iPhone" to refer to "iOS".

Macros that papered over this difference in SDL2 have been removed for SDL3.

Fixes #9527.
This commit is contained in:
Ryan C. Gordon
2024-04-13 14:30:30 -04:00
parent d252a8fe12
commit 6e1ed94913
12 changed files with 40 additions and 31 deletions

View File

@@ -1490,6 +1490,9 @@ SDL_AndroidGetExternalStorageState() takes the state as an output parameter and
SDL_AndroidRequestPermission is no longer a blocking call; the caller now provides a callback function that fires when a response is available.
SDL_iPhoneSetAnimationCallback() and SDL_iPhoneSetEventPump() have been renamed to SDL_iOSSetAnimationCallback() and SDL_iOSSetEventPump(), respectively. SDL2 has had macros to provide this new name with the old symbol since the introduction of the iPad, but now the correctly-named symbol is the only option.
The following functions have been removed:
* SDL_RenderGetD3D11Device() - replaced with the "SDL.renderer.d3d11.device" property
* SDL_RenderGetD3D12Device() - replaced with the "SDL.renderer.d3d12.device" property
@@ -1498,6 +1501,8 @@ The following functions have been removed:
The following functions have been renamed:
* SDL_WinRTGetFSPathUTF8() => SDL_WinRTGetFSPath()
* SDL_iPhoneSetAnimationCallback() => SDL_iOSSetAnimationCallback()
* SDL_iPhoneSetEventPump() => SDL_iOSSetEventPump()
## SDL_syswm.h