Removed useless OpenGL stuff.