Changed OpenGL version from 2.1 to 3.3.