X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FGame.cpp;h=241914c63b716d0734d25cd5fa0c0dcf390134df;hb=4692ec6888b3a2eb166fd1693cb583d2c53e346c;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); + } +}