SDL_HINT_VIDEO_X11_NODIRECTCOLOR - Man Page
A variable controlling whether SDL uses DirectColor visuals.
Synopsis
#include <SDL3/SDL_hints.h> #define SDL_HINT_VIDEO_X11_NODIRECTCOLOR "SDL_VIDEO_X11_NODIRECTCOLOR"
Description
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.
Availability
This hint is available since SDL 3.2.0.
Info
SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS