]> git.tdb.fi Git - libs/game.git/commitdiff
Set camera to non-VR view
authorMikko Rasa <tdb@tdb.fi>
Sat, 15 Mar 2025 13:03:17 +0000 (15:03 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sat, 15 Mar 2025 13:03:17 +0000 (15:03 +0200)
This accidentally got broken in 503a9c6 while working on the VR stuff.

source/gameview/renderer.cpp

index 58e6454f3c6b04908a239aa05822e551ecdc9da1..4b424216ab6410da6d07cd7b2332378522b3f822 100644 (file)
@@ -47,6 +47,7 @@ void Renderer::output_to_view(GL::View &v)
 {
        cancel_output();
        gl_view = &v;
+       gl_view->set_camera(&gl_camera);
        if(active_camera)
                create_sequence();
 }