X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FGame.cpp;h=241914c63b716d0734d25cd5fa0c0dcf390134df;hb=de7834267e2ff8f28a2cb49647fc91e060686e93;hp=524009d2500b504846f927c4223147d5fba8fe47;hpb=735daf95aba0eef54d151daae01285f0959825d0;p=lugaru.git diff --git a/Source/Game.cpp b/Source/Game.cpp index 524009d..241914c 100644 --- a/Source/Game.cpp +++ b/Source/Game.cpp @@ -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); + } +}