From cd110d60482feeddcf9a9b91ecdecba5ea354928 Mon Sep 17 00:00:00 2001 From: Andrzej Kapolka Date: Fri, 7 Nov 2014 14:35:01 -0800 Subject: [PATCH] Fix for invalid projection matrix on startup. --- interface/src/Application.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index a2cfc8f024..0afe011cd6 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -786,7 +786,7 @@ void Application::updateProjectionMatrix(Camera& camera, bool updateViewFrustum) // Tell our viewFrustum about this change, using the application camera if (updateViewFrustum) { loadViewFrustum(camera, _viewFrustum); - computeOffAxisFrustum(left, right, bottom, top, nearVal, farVal, nearClipPlane, farClipPlane); + _viewFrustum.computeOffAxisFrustum(left, right, bottom, top, nearVal, farVal, nearClipPlane, farClipPlane); // If we're in Display Frustum mode, then we want to use the slightly adjust near/far clip values of the // _viewFrustumOffsetCamera, so that we can see more of the application content in the application's frustum