Bug 221

Summary: Fixing stereo capability in WindowsGLDrawable
Product: [JogAmp] Jogl Reporter: Sven Gothel <sgothel>
Component: coreAssignee: Sven Gothel <sgothel>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P3    
Version: 1   
Hardware: All   
OS: windows   
Type: DEFECT SCM Refs:
Workaround: ---

Description Sven Gothel 2010-03-24 07:48:51 CET


---- Reported by eteq 2006-05-08 21:40:47 ----

For the last couple weeks I've been trying to figure out why stereo mode doesn't
work on a GLCanvas under Windows XP... Turns out the glCapabilities2pfd method
in WindowsGLDrawable didn't transfer stereo mode to the PIXELFORMATDESCRIPTOR.
Adding the following code at line 304 of WindowsGLDrawable.java fixes the
problem, and stereo now works for me on a GLCanvas.

if (caps.getStereo()) {
        pfdFlags |= WGL.PFD_STEREO;
    }



---- Additional Comments From kbr 2006-05-08 23:08:29 ----

Thanks very much for the patch. It's embarrassing this has been broken this
long. Your patch has been applied, will be present in the nightly builds dated
5/9 and later, and will be present in the next JSR-231 build (probably beta 5).




--- Bug imported by sgothel@jausoft.com 2010-03-24 07:48 EDT  ---

This bug was previously known as _bug_ 221 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=221