Bundle SDL2 multimedia library for 2D graphics, input handling, audio playback, and window management. Core types: Window, Renderer, Texture, Surface, Event, and Mixer. Compile with -lib sdl2.
GLContextFlag
Values for GLattr->SDL_GL_CONTEXT_FLAGS, combined with 'or'. FORWARD_COMPATIBLE removes the deprecated fixed-function pipeline and is required alongside a core profile on macOS.
Items
- SDL_GL_CONTEXT_DEBUG_FLAG = 1
- SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG = 2
- SDL_GL_CONTEXT_ROBUST_ACCESS_FLAG = 4
- SDL_GL_CONTEXT_RESET_ISOLATION_FLAG = 8