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

SDL_HINT_VIDEO_HIGHDPI_DISABLED

If set to 1, then do not allow high-DPI windows.

Header File

Defined in SDL_hints.h

Syntax

#define SDL_HINT_VIDEO_HIGHDPI_DISABLED "SDL_VIDEO_HIGHDPI_DISABLED"

Remarks

("Retina" on Mac and iOS)


CategoryAPI, CategoryAPIMacro, CategoryHints