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.
GLContext
An OpenGL context, created from a Window with GLCreateContext. Like every SDL handle in this bundle this wraps a raw native pointer, so the collector cannot see it -- call Delete() when you are done. Deleting a context while it is current is allowed; SDL unbinds it first.