Corrected migration documentation for SDL_GetDisplayDPI()

Fixes https://github.com/libsdl-org/SDL/issues/9386
main
Sam Lantinga 2024-03-27 18:27:57 -07:00
parent d00ccc1546
commit 7a9f99cff3
1 changed files with 1 additions and 1 deletions

View File

@ -1735,7 +1735,7 @@ The following functions have been renamed:
The following functions have been removed:
* SDL_GetClosestFullscreenDisplayMode()
* SDL_GetDisplayDPI() - not reliable across platforms, approximately replaced by multiplying `display_scale` in the structure returned by SDL_GetDesktopDisplayMode() times 160 on iPhone and Android, and 96 on other platforms.
* SDL_GetDisplayDPI() - not reliable across platforms, approximately replaced by multiplying SDL_GetWindowDisplayScale() times 160 on iPhone and Android, and 96 on other platforms.
* SDL_GetDisplayMode()
* SDL_GetNumDisplayModes() - replaced with SDL_GetFullscreenDisplayModes()
* SDL_GetNumVideoDisplays() - replaced with SDL_GetDisplays()