Upgrade to OpenGL 2.8

The main difference is the use of the StateVar of the OpenGL instead of the Data.StateVar package.