Login  Register

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

Posted by krishnak on Mar 03, 2013; 3:59pm
URL: https://forum.jogamp.org/JOGL-2-0-OpenGL-OpenGL-ES-backend-for-LibGDX-tp4027689p4028451.html

I updated my source to be in sync with revision 10457 of JMonkey.

After compiling - I get this error on the Raspberry Pi - the same code works on Ubuntu 12.04 PC.

I have double checked that JoglNewtAbstractDisplay is in synch with source.


Mar 03, 2013 3:47:12 PM com.jme3.system.JmeDesktopSystem initialize
INFO: Running on jMonkeyEngine 3.0.0 RC2
javax.media.opengl.GLException: Profile GL_DEFAULT is not available on null, but: []
        at javax.media.opengl.GLProfile.get(GLProfile.java:806)
        at javax.media.opengl.GLProfile.getDefault(GLProfile.java:567)
        at javax.media.opengl.GLProfile.getDefault(GLProfile.java:578)
        at com.jme3.system.jogl.JoglNewtAbstractDisplay.initGLCanvas(JoglNewtAbstractDisplay.java:83)
        at com.jme3.system.jogl.JoglNewtDisplay.privateInit(JoglNewtDisplay.java:145)
        at com.jme3.system.jogl.JoglNewtDisplay.create(JoglNewtDisplay.java:168)
        at com.jme3.app.Application.start(Application.java:395)
        at com.jme3.app.Application.start(Application.java:374)
        at com.jme3.app.SimpleApplication.start(SimpleApplication.java:133)
        at mygame.Test.main(Test.java:80)