v2026.9.4
All Bundles
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.

GLProfile

Values for GLattr->SDL_GL_CONTEXT_PROFILE_MASK. Request a profile BEFORE creating the window, with Core->GLSetAttribute. Ask for CORE to get a modern (3.2+) context. On macOS this is mandatory, not a preference: without it you are handed a legacy 2.1 context, and macOS offers no 3.3 compatibility profile at all.

Items