Trial and error working with OpenGL 2D rendering.