summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexShaderManager.cpp
diff options
context:
space:
mode:
authoriwubcode <iwubcode@users.noreply.github.com>2020-06-17 12:07:40 -0500
committeriwubcode <iwubcode@users.noreply.github.com>2020-06-17 12:07:40 -0500
commita65ef35f1ac3f5d1739cbd98bac155048ba4ba30 (patch)
tree1cc5831656cb58859ec771fc8447a36eb9c0ca78 /Source/Core/VideoCommon/VertexShaderManager.cpp
parent0bc7dcd172716f48639419bc4e6ddc415d0f368a (diff)
VideoCommon: Clean freelook camera dirty state when getting the new view
Diffstat (limited to 'Source/Core/VideoCommon/VertexShaderManager.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexShaderManager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/VertexShaderManager.cpp b/Source/Core/VideoCommon/VertexShaderManager.cpp
index 2044de1aff..6c65a86efa 100644
--- a/Source/Core/VideoCommon/VertexShaderManager.cpp
+++ b/Source/Core/VideoCommon/VertexShaderManager.cpp
@@ -419,6 +419,8 @@ void VertexShaderManager::SetConstants()
memcpy(constants.projection.data(), corrected_matrix.data.data(), 4 * sizeof(float4));
+ g_freelook_camera.SetClean();
+
dirty = true;
}