From dfaf1a58463565bf37dddace86b740527edcbe49 Mon Sep 17 00:00:00 2001 From: fayjf Date: Thu, 6 Oct 2005 13:53:42 +0000 Subject: [PATCH] Implementing Stereo in Windows git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@688 7f0cb862-5218-0410-a997-914c9d46530a --- freeglut/freeglut/src/freeglut_window.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/freeglut/freeglut/src/freeglut_window.c b/freeglut/freeglut/src/freeglut_window.c index a469866..af29425 100644 --- a/freeglut/freeglut/src/freeglut_window.c +++ b/freeglut/freeglut/src/freeglut_window.c @@ -184,6 +184,9 @@ GLboolean fgSetupPixelFormat( SFG_Window* window, GLboolean checkOnly, if( fgState.DisplayMode & GLUT_DOUBLE ) flags |= PFD_DOUBLEBUFFER; + if( fgState.DisplayMode & GLUT_STEREO ) + flags |= PFD_STEREO; + #if defined(_MSC_VER) #pragma message( "fgSetupPixelFormat(): there is still some work to do here!" ) #endif