diff options
| author | iwubcode <iwubcode@users.noreply.github.com> | 2020-06-17 15:06:40 -0500 |
|---|---|---|
| committer | iwubcode <iwubcode@users.noreply.github.com> | 2020-07-02 12:55:08 -0500 |
| commit | 0441d6aa5eb2d1ac45f1f1973fa5ad3adaf71f08 (patch) | |
| tree | c7b5eb557c30e8f809485070d501a66d4f5d3007 /Source/Core/VideoCommon/VertexShaderManager.cpp | |
| parent | d6341c4117d59565b3bc42264d6fa5ba7e796526 (diff) | |
VertexShaderManager: Avoid accessing freelook control type configuration each call which caused a performance hit, move check to RenderBase where it is checked when config changes
Diffstat (limited to 'Source/Core/VideoCommon/VertexShaderManager.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexShaderManager.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/VertexShaderManager.cpp b/Source/Core/VideoCommon/VertexShaderManager.cpp index 6c65a86efa..d9c44d767c 100644 --- a/Source/Core/VideoCommon/VertexShaderManager.cpp +++ b/Source/Core/VideoCommon/VertexShaderManager.cpp @@ -449,9 +449,6 @@ void VertexShaderManager::SetConstants() dirty = true; } - - // Handle a potential config change - g_freelook_camera.SetControlType(Config::Get(Config::GFX_FREE_LOOK_CONTROL_TYPE)); } void VertexShaderManager::InvalidateXFRange(int start, int end) |
