]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Game.cpp
Move declaration of animation array into Animation.h
[lugaru.git] / Source / Game.cpp
index 524009d2500b504846f927c4223147d5fba8fe47..241914c63b716d0734d25cd5fa0c0dcf390134df 100644 (file)
@@ -355,3 +355,12 @@ int Game::thread(void *data) {
         (pt->game->*(pt->method))();
     }
 }
+
+void Game::DrawGL() {
+       if ( stereomode == stereoNone ) {
+               DrawGLScene(stereoCenter);
+       } else {
+               DrawGLScene(stereoLeft);
+               DrawGLScene(stereoRight);
+       }
+}