libGDX Exception in thread “LWJGL Application”

前端 未结 2 1474
一整个雨季
一整个雨季 2021-01-13 17:40

I\'ve been following the setup tutorial found at: libGDX setup tutorial. I\'m not sure what\'s going on here. I can finally get the project to deploy in the emulator, howeve

相关标签:
2条回答
  • 2021-01-13 18:32

    Put this code

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

    this will solve your problem..

    0 讨论(0)
  • 2021-01-13 18:35

    You are lacking an OpenGL capable card. Libgdx requires at least OpenGL 1.5 on the desktop (for OpenGL ES 1.x emulation, 2.1 for OpenGL ES 2.0 emulation).

    Either install up to date drivers, or if your card does not support OpenGL, get a new card. OpenGL 1.5 is supported by 10 year old graphics cards.

    0 讨论(0)
提交回复
热议问题