Some calls to "raw OpenGL" have been replaced by calls to OpenGL's methods.