Implementing Stereo in Windows
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@688 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
0e76af92bb
commit
dfaf1a5846
@ -184,6 +184,9 @@ GLboolean fgSetupPixelFormat( SFG_Window* window, GLboolean checkOnly,
|
|||||||
if( fgState.DisplayMode & GLUT_DOUBLE )
|
if( fgState.DisplayMode & GLUT_DOUBLE )
|
||||||
flags |= PFD_DOUBLEBUFFER;
|
flags |= PFD_DOUBLEBUFFER;
|
||||||
|
|
||||||
|
if( fgState.DisplayMode & GLUT_STEREO )
|
||||||
|
flags |= PFD_STEREO;
|
||||||
|
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
#pragma message( "fgSetupPixelFormat(): there is still some work to do here!" )
|
#pragma message( "fgSetupPixelFormat(): there is still some work to do here!" )
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user