diff --git a/include/donut/engine/View.h b/include/donut/engine/View.h index d9eab52..6c111a4 100644 --- a/include/donut/engine/View.h +++ b/include/donut/engine/View.h @@ -246,7 +246,7 @@ namespace donut::engine [[nodiscard]] dm::frustum GetProjectionFrustum() const override { dm::frustum left = LeftView.GetProjectionFrustum(); - dm::frustum right = LeftView.GetProjectionFrustum(); + dm::frustum right = RightView.GetProjectionFrustum(); // not robust but should work for regular stereo views left.planes[dm::frustum::RIGHT_PLANE] = right.planes[dm::frustum::RIGHT_PLANE];