SDL_HINT_VIDEO_X11_NODIRECTCOLOR

A variable controlling whether SDL uses DirectColor visuals.

Header File

Defined in <SDL3/SDL_hints.h>

Syntax

#define SDL_HINT_VIDEO_X11_NODIRECTCOLOR "SDL_VIDEO_X11_NODIRECTCOLOR"

Remarks

The variable can be set to the following values:

This hint should be set before initializing the video subsystem.

Version

This hint is available since SDL 3.2.0.


CategoryAPI, CategoryAPIMacro, CategoryHints