Rename SDL_GetDisplayDPI to SDL_GetDisplayPhysicalDPI

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

View File

@@ -403,7 +403,7 @@ extern DECLSPEC int SDLCALL SDL_GetDisplayUsableBounds(int displayIndex, SDL_Rec
*
* \sa SDL_GetNumVideoDisplays
*/
extern DECLSPEC int SDLCALL SDL_GetDisplayDPI(int displayIndex, float * ddpi, float * hdpi, float * vdpi);
extern DECLSPEC int SDLCALL SDL_GetDisplayPhysicalDPI(int displayIndex, float * ddpi, float * hdpi, float * vdpi);
/**
* Get the orientation of a display.