(This is the legacy documentation for SDL2, the previous stable version; SDL3 is the current stable version.)
SDL_HINT_WINDOWS_ENABLE_MESSAGELOOP
A variable controlling whether the windows message loop is processed by SDL
Defined in SDL_hints.h
Syntax
#define SDL_HINT_WINDOWS_ENABLE_MESSAGELOOP "SDL_WINDOWS_ENABLE_MESSAGELOOP"
This variable can be set to the following values:
- "0": The window message loop is not run
- "1": The window message loop is processed in SDL_PumpEvents()
By default SDL will process the windows message loop
CategoryAPI, CategoryAPIMacro, CategoryHints