LibGDX中有关OpenGL的未知错误

时间:2017-02-04 19:59:27

标签: android libgdx

我尝试从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
Version: 1:1:0
Vendor: Microsoft Corporation
Renderer: GDI Generic
    at com.badlogic.gdx.backends.lwjgl.LwjglGraphics.initiateGLInstances(LwjglGraphics.java:347)
    at com.badlogic.gdx.backends.lwjgl.LwjglGraphics.initiateGL(LwjglGraphics.java:226)
    at com.badlogic.gdx.backends.lwjgl.LwjglGraphics.setupDisplay(LwjglGraphics.java:217)
    at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:144)
    at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)

我的OpenGL是4.4 我添加了一行:

System.setProperty("org.lwjgl.opengl.Display.allowSoftwareOpenGL", "true");

但它没有帮助我,有人有想法吗?

1 个答案:

答案 0 :(得分:0)