clear and display (along with some other OpenGL calls) should be put into its own class.
clear and display (along with some other OpenGL calls) should be put into its own class.