window = glfwCreateWindow(640, 480, "Hello OpenGL", NULL, NULL);. if(!window). {. glfwTerminate();. return -1;. } glfwMakeContextCurrent(window);.
確定! 回上一頁