(This is the legacy documentation for stable SDL2, the current stable version; SDL3 is the current development version.)

SDL_HINT_RPI_VIDEO_LAYER

Tell SDL which Dispmanx layer to use on a Raspberry PI

Header File

Defined in SDL_hints.h

Syntax

#define SDL_HINT_RPI_VIDEO_LAYER           "SDL_RPI_VIDEO_LAYER"

Remarks

Also known as Z-order. The variable can take a negative or positive value. The default is 10000.


CategoryAPI, CategoryAPIMacro, CategoryHints