mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-11-21 09:36:24 +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:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user