The Carp compiler comes bundled with bindings for a few common games/multimedia libraries.
For installation instructions, see Install.md.
You can find the API documentation for the SDL bindings here. Many of the examples use these bindings -- check them out!
See OpenGL.carp