summaryrefslogtreecommitdiff
path: root/c2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c2.cpp')
-rw-r--r--c2.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/c2.cpp b/c2.cpp
index 3867280..3a14ea5 100644
--- a/c2.cpp
+++ b/c2.cpp
@@ -836,6 +836,7 @@ struct C2 : public App {
Texture& bb = dev->get_texture(hdr_target);
pcam.asp = (float)bb.w / (float)bb.h;
+ renderer.prev_vp = pcam.get_proj() * pcam.get_view();
orbit_cam.update_orbit(*this);
pcam.update();
lighting.update(dev, ctx, *world, renderer, scene);