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 查看器时,我看到:

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");

最新更新