Libgdx opengl错误
Libgdx opengl error
我在 android studio 上用 libgdx 开始了一个新项目,但是当我 运行 程序时,我看到:
Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: OpenGL 2.0 or higher with the FBO extension is required. OpenGL version: 1.1.0
Type: OpenGL
但是当我使用 GPU Caps Viewer 时,我看到了:
GL_RENDERER Intel HD Graphics 3000
Gl_Version:3.1.0-Build 9.17.10.4459
GLSL 1.40-Intel Build 9.17.10.4459
我尝试更改 import com.badlogic.gdx.graphics.GL20; to import com.badlogic.gdx.graphics.GL30;
但仍然无效。
尝试配置 LWJGL 后端以允许软件模拟 OpenGL:
System.setProperty("org.lwjgl.opengl.Display.allowSoftwareOpenGL", "true");
我在 android studio 上用 libgdx 开始了一个新项目,但是当我 运行 程序时,我看到:
Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: OpenGL 2.0 or higher with the FBO extension is required. OpenGL version: 1.1.0
Type: OpenGL
但是当我使用 GPU Caps Viewer 时,我看到了:
GL_RENDERER Intel HD Graphics 3000
Gl_Version:3.1.0-Build 9.17.10.4459
GLSL 1.40-Intel Build 9.17.10.4459
我尝试更改 import com.badlogic.gdx.graphics.GL20; to import com.badlogic.gdx.graphics.GL30;
但仍然无效。
尝试配置 LWJGL 后端以允许软件模拟 OpenGL:
System.setProperty("org.lwjgl.opengl.Display.allowSoftwareOpenGL", "true");