Login  Register

Re: GLDrawableFactory initSingleton

Posted by Wade Walker on Mar 31, 2012; 7:45pm
URL: https://forum.jogamp.org/GLDrawableFactory-initSingleton-tp3873582p3874034.html

Hi Spacedone,

That initSingleton() method was deprecated a while back, but is still there in current JOGL releases (you can see it at https://github.com/sgothel/jogl/blob/master/src/jogl/classes/javax/media/opengl/GLDrawableFactory.java). The tutorial you were looking at is a bit old, as well -- you can find more recent stuff on our wiki at http://jogamp.org/wiki/index.php/Jogl_Tutorial.

You might try a more recent version of JOGL from the development builds -- see the instructions at http://jogamp.org/wiki/index.php/Downloading_and_installing_JOGL for how to get one. You might just have your classpath accidentally set to a very old version of JOGL somewhere