Added SDL_HINT_VIDEO_X11_VISUALID

This commit is contained in:
Sam Lantinga committed 2024-08-05 08:54:10 -07:00
1 parent 05f870f20d
commit 8cde570ad9
3 files changed
+14 -4

No files matched your search

+9
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.
*