Java LWJGL GLFW_格式_不可用错误
这是我的类,应该创建应用程序(主要入口点是Java LWJGL GLFW_格式_不可用错误,java,opengl,lwjgl,Java,Opengl,Lwjgl,这是我的类,应该创建应用程序(主要入口点是runmethod) 错误引用了该行 window = glfwCreateWindow(glContextConfig.windowWidth, glContextConfig.windowHeight, glContextConfig.windowTitle, NULL, NULL); 有什么问题吗 p.S我使用OpenGL Bible+lwjgl进行调整 问题在于 glfwWindowHint(GLFW_STEREO, glContextConf
run
method)
错误引用了该行
window = glfwCreateWindow(glContextConfig.windowWidth, glContextConfig.windowHeight, glContextConfig.windowTitle, NULL, NULL);
有什么问题吗
p.S我使用OpenGL Bible+lwjgl进行调整
问题在于
glfwWindowHint(GLFW_STEREO, glContextConfig.flags.stereo == 1 ? GL_TRUE : GL_FALSE);
因为我使用的是集成的Intel
video
window = glfwCreateWindow(glContextConfig.windowWidth, glContextConfig.windowHeight, glContextConfig.windowTitle, NULL, NULL);
glfwWindowHint(GLFW_STEREO, glContextConfig.flags.stereo == 1 ? GL_TRUE : GL_FALSE);