OpenGL 2D game base