2D Rendering Framework in OpenGL 2.1