If you have a look at the JEDI-SDL OpenGL demos, I ported one of the nehe 2D games that uses OpenGL. Have a look at the code and play around with it. I think it's Nehe's tutorial 21, the game is called Grid Crazy. C code and explanation can be see here - http://nehe.gamedev.net/data/lessons....asp?lesson=21.