Added SDL_HINT_VIDEO_X11_VISUALID

This commit is contained in:
Sam Lantinga
2024-08-03 09:42:51 -07:00
parent 05f870f20d
commit 8cde570ad9
3 changed files with 14 additions and 4 deletions

View File

@@ -3311,6 +3311,15 @@ extern "C" {
*/
#define SDL_HINT_VIDEO_X11_SCALING_FACTOR "SDL_VIDEO_X11_SCALING_FACTOR"
/**
* A variable forcing the visual ID used for X11 display modes.
*
* 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_VISUALID "SDL_VIDEO_X11_VISUALID"
/**
* A variable forcing the visual ID chosen for new X11 windows.
*