Opengl requirement up to 3.3.

Removed fixed pipeline and rendering is now done with shaders.