diff options
Diffstat (limited to 'src/classes/com/sun')
-rw-r--r-- | src/classes/com/sun/opengl/impl/windows/WindowsGLDrawable.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/classes/com/sun/opengl/impl/windows/WindowsGLDrawable.java b/src/classes/com/sun/opengl/impl/windows/WindowsGLDrawable.java index 8b8df0926..e5b8b6424 100644 --- a/src/classes/com/sun/opengl/impl/windows/WindowsGLDrawable.java +++ b/src/classes/com/sun/opengl/impl/windows/WindowsGLDrawable.java @@ -301,6 +301,9 @@ public abstract class WindowsGLDrawable extends GLDrawableImpl { } else { pfdFlags |= WGL.PFD_DRAW_TO_BITMAP; } + if (caps.getStereo()) { + pfdFlags |= WGL.PFD_STEREO; + } pfd.dwFlags(pfdFlags); pfd.iPixelType((byte) WGL.PFD_TYPE_RGBA); pfd.cColorBits((byte) colorDepth); |