mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-01 23:48:29 +00:00
Added SDL_HINT_VIDEO_X11_NODIRECTCOLOR
This commit is contained in:
@@ -3300,6 +3300,20 @@ extern "C" {
|
||||
*/
|
||||
#define SDL_HINT_VIDEO_X11_NET_WM_PING "SDL_VIDEO_X11_NET_WM_PING"
|
||||
|
||||
/**
|
||||
* A variable controlling whether SDL uses DirectColor visuals.
|
||||
*
|
||||
* The variable can be set to the following values:
|
||||
*
|
||||
* - "0": Disable DirectColor visuals.
|
||||
* - "1": Enable DirectColor visuals. (default)
|
||||
*
|
||||
* This hint should be set before initializing the video subsystem.
|
||||
*
|
||||
* \since This hint is available since SDL 3.0.0.
|
||||
*/
|
||||
#define SDL_HINT_VIDEO_X11_NODIRECTCOLOR "SDL_VIDEO_X11_NODIRECTCOLOR"
|
||||
|
||||
/**
|
||||
* A variable forcing the content scaling factor for X11 displays.
|
||||
*
|
||||
|
Reference in New Issue
Block a user