Login  Register

Re: Detecting whether stereo is available

Posted by blainebell on Mar 23, 2011; 3:48pm
URL: https://forum.jogamp.org/Detecting-whether-stereo-is-available-tp2716571p2720905.html

I believe I figured this out.  This is a very simple solution, after the GLCanvas has been constructed, it can be queried by getting the profile, creating a GLCapabilities object, and querying it for stereo.

new GLCapabilities(_canvas.getGLProfile()).getStereo()

will return whether the GLCanvas is doing stereo.  I will see if this can get rid o the Linux-x86 64bit issue. (I might need to reinitialize the GLCanvas)

Blaine