Rename SDL_GetDisplayDPI to SDL_GetDisplayPhysicalDPI

to avoid confusion with logical DPI
This commit is contained in:
Sylvain authored and Sam Lantinga committed 2023-01-25 00:04:00 -08:00
1 parent d496d187c5
commit 724d92fd65
11 files changed
+19 -11

No files matched your search

+1
View File
@@ -967,6 +967,7 @@ SDL_GL_SwapWindow() returns 0 if the function succeeds or a negative error code
SDL_GL_GetSwapInterval() takes the interval as an output parameter and returns 0 if the function succeeds or a negative error code if there was an error.
The following functions have been renamed:
* SDL_GetDisplayDPI() => SDL_GetDisplayPhysicalDPI()
* SDL_GetPointDisplayIndex() => SDL_GetDisplayIndexForPoint()
* SDL_GetRectDisplayIndex() => SDL_GetDisplayIndexForRect()