X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FOpenGL_Windows.cpp;h=e064f99d2362aad372358a5665b4b947c526ad5b;hb=12421cc17c6176a16ec18901e02d760ccd0b28ad;hp=a9edfb56952e54b6a068342e2d366fe18e99fea0;hpb=c44a844d9305c4f1f7dd0479e4a3af3e90b96a1b;p=lugaru.git diff --git a/Source/OpenGL_Windows.cpp b/Source/OpenGL_Windows.cpp index a9edfb5..e064f99 100644 --- a/Source/OpenGL_Windows.cpp +++ b/Source/OpenGL_Windows.cpp @@ -549,7 +549,12 @@ void DoUpdate () num_channels = 0; } */ - DrawGL(); + if ( stereomode == stereoNone ) { + DrawGLScene(stereoCenter); + } else { + DrawGLScene(stereoLeft); + DrawGLScene(stereoRight); + } } // -------------------------------------------------------------------------- @@ -707,7 +712,7 @@ int main(int argc, char **argv) if (!SetUp ()) return 42; - while (!gDone&&!quit&&(!tryquit)) + while (!gDone&&!tryquit) { if (IsFocused()) {