Re: Discussion: Applet's & GLProfile's initSingleton(..) / shutdown(..)
Posted by ac on Feb 14, 2012; 2:13am
URL: https://forum.jogamp.org/Discussion-Applet-s-GLProfile-s-initSingleton-shutdown-tp3556730p3742318.html
Hello, after reading this thread it is my impression that the GLProfile.initSingleton() call is not longer required in order to initialize things properly. Could you confirm if this is actually the case?
Before (rc2) I had something like this in the initialization block of my renderer:
if (runningAsApplet) {
GLProfile.initSingleton(false);
} else {
if (platform == LINUX) {
GLProfile.initSingleton(false);
} else {
GLProfile.initSingleton(true);
}
}
profile = GLProfile.getMaxFixedFunc();
...
After I upgraded to rc5 I commented out the initSingleton lines, and my renderer seems to run ok. Is there any other considerations to keep in mind regarding initialization (such platform specific issues, applets, etc).
Thanks a lot!