mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-02 09:57:40 +00:00
Added SDL_HINT_VIDEO_X11_SCALING_FACTOR to allow overriding the content scale on X11 (thanks Andres!)
This commit is contained in:
parent
210c135f74
commit
4e81b4e8de
2 changed files with 37 additions and 17 deletions
|
@ -1938,6 +1938,13 @@ extern "C" {
|
|||
*/
|
||||
#define SDL_HINT_VIDEO_X11_WINDOW_VISUALID "SDL_VIDEO_X11_WINDOW_VISUALID"
|
||||
|
||||
/**
|
||||
* \brief A variable forcing the scaling factor for X11 windows
|
||||
*
|
||||
* This variable can be set to a floating point value in the range 1.0-10.0f
|
||||
*/
|
||||
#define SDL_HINT_VIDEO_X11_SCALING_FACTOR "SDL_VIDEO_X11_SCALING_FACTOR"
|
||||
|
||||
/**
|
||||
* \brief A variable controlling whether the X11 XRandR extension should be used.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue