Skip to content

Commit

Permalink
Corrected migration documentation for SDL_GetDisplayDPI()
Browse files Browse the repository at this point in the history
Fixes #9386
  • Loading branch information
slouken committed Mar 28, 2024
1 parent d00ccc1 commit 7a9f99c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/README-migration.md
Expand Up @@ -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()
Expand Down

0 comments on commit 7a9f99c

Please sign in to comment.