]> git.jsancho.org Git - lugaru.git/blobdiff - Source/OpenGL_Windows.cpp
cleanup, renamed rotations to yaw/pitch
[lugaru.git] / Source / OpenGL_Windows.cpp
index a9edfb56952e54b6a068342e2d366fe18e99fea0..e064f99d2362aad372358a5665b4b947c526ad5b 100644 (file)
@@ -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())
                                        {