OpenGL 2.0 or higher with the FBO extension - LibGDX error

I started using LibGDX a month ago and it works great! But yesterday, after upgrading to Java 8, I launched two desktops that previously worked, it showed me this error:

OpenGL is not supported by the video driver

I searched on the Internet and I found that someone posted this code:

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

Well, he works with one of the projects, a zombie bird tutorial that I studied, but with a different project. He shows:

Requires OpenGL 2.0 or higher with the FBO extension. OpenGL Version: 1.1.0 Microsoft GDI Generic 1.1.0

PS: My OpenGl device version: 3.1, Intel HD Graphics 3000, LibGDX Release: 1.6.5, & amp; I am using Eclipse Juno.

+5
source share
2 answers

Well, I could not find a real solution to the problem, but so far this problem arises because of your Windows GDI, it will remain only on your PC, and not on other PCs! So, as a solution, you can continue testing on your Android device or emulator! You will get the same result in your Android project.

UPDATE:

Find the real solution! You only need to uninstall Java 8 and reinstall Java 7! It seems that Java 8 does not support or is not secluded with Libgdx: p

+4
source

If you are working in Eclipse Neon + (not sure about Mars), you need Java 8, so the best solution is to simply change the JRE to Java Build Path in Java 7. This will fix it.

0
source

All Articles