some deprecated opengl functions removed