mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-28 07:29:09 +00:00
Officially added the concept of window pixel density
The SDL_WINDOW_ALLOW_HIGHDPI flag has been renamed SDL_WINDOW_HIGH_PIXEL_DENSITY, and added the function SDL_GetWindowPixelDensity()
This commit is contained in:
parent
e708674416
commit
cc94f600fd
19 changed files with 59 additions and 70 deletions
|
@ -1638,17 +1638,6 @@ extern "C" {
|
|||
*/
|
||||
#define SDL_HINT_VIDEO_EXTERNAL_CONTEXT "SDL_VIDEO_EXTERNAL_CONTEXT"
|
||||
|
||||
/**
|
||||
* \brief A variable controlling whether to use high pixel density display modes
|
||||
*
|
||||
* The variable can be set to the following values:
|
||||
* "0" - Disable high pixel density display modes
|
||||
* "1" - Enable high pixel density display modes
|
||||
*
|
||||
* The default value is "1". This hint must be set before display modes are queried and windows are created.
|
||||
*/
|
||||
#define SDL_HINT_VIDEO_ENABLE_HIGH_PIXEL_DENSITY "SDL_VIDEO_ENABLE_HIGH_PIXEL_DENSITY"
|
||||
|
||||
/**
|
||||
* \brief A variable that dictates policy for fullscreen Spaces on macOS.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue