Login  Register

Re: JOGL 2.0 (OpenGL/OpenGL-ES) backend for LibGDX

Posted by gouessej on Feb 18, 2013; 4:31pm
URL: https://forum.jogamp.org/JOGL-2-0-OpenGL-OpenGL-ES-backend-for-LibGDX-tp4027689p4028254.html

The JARs containing the native libraries have to be in the same path than the Java libraries (which are in the classpath), but you don't need to put them into the classpath too.

There are 2 possible root causes :
- the proper driver (for OpenGL ES 2.0) is not detected
- JoglNewtAbstractDisplay doesn't use the good profile

Try to force ES2 in JoglNewtAbstractDisplay.initGLCanvas(), maybe use GLProfile.getDefault() or GLProfile.GL2ES2.
Julien Gouesse | Personal blog | Website