Login  Register

Not a GL3 implementation on mac OS X 10.11

Posted by danpcl on Mar 25, 2016; 7:16am
URL: https://forum.jogamp.org/Not-a-GL3-implementation-on-mac-OS-X-10-11-tp4036538.html

I code the java project that using JOGL 2.3 library, but I encounter a strange problem.

when I type the "GL3 gl = drawable.getGL().getGL3();" at function display() in class that extends GLCanvas.

I will get the exception like below:
               
Caused by: com.jogamp.opengl.GLException: Not a GL3 implementation
        at jogamp.opengl.gl4.GL4bcImpl.getGL3(GL4bcImpl.java:39005)
        at display.Displayer.display(Displayer.java:236)
        at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:691)
        at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:673)
        at com.jogamp.opengl.awt.GLCanvas$11.run(GLCanvas.java:1421)
        at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1277)

I have coded some Qt project using OpenGL 3.3 function, and it run well.

so I think it is not the hardware updating issue.
 
Have anyone encountered this problem before?

If solved, pls help me.