Login  Register

Re: Issues with JOGL under OS X

Posted by agggile on Oct 27, 2015; 9:03pm
URL: https://forum.jogamp.org/Issues-with-JOGL-under-OS-X-tp4035608p4035620.html

I can't see why it wouldn't, unless the JOGL-related code in the Applet class has something to do with the issue.

I have:

GLCapabilities capabilities = new GLCapabilities(GLProfile.getDefault());
capabilities.setSampleBuffers(true);
capabilities.setNumSamples(2);
Global.mainGLCanvas = new MainGLCanvas(this, capabilities);
((Container)var2).add(Global.mainGLCanvas);

in the applet class, but that's it. MainGLCanvas is a GLCanvas (duh), calls super() with the given capabilities.

This is called on startup.