It sounds more like you need something like SFML, which you can see in action in this tutorial.

It's a 2D game engine, built over top of OpenGL.