an attempt at a 2d game engine using SDL and OpenGL