I use a NSOpenGLView. - (void)initGL { // Setup OpenGL states [[self openGLContext] makeCurrentContext]; // Setup OpenGL states glMatrixMode(GL_PROJECTION); ...
確定! 回上一頁