Merge pull request #8884 from iwubcode/freelook_performance_fix

VertexShaderManager: Only look for freelook config changes if we're using freelook
This commit is contained in:
Connor McLaughlin 2020-07-04 14:19:59 +10:00 committed by GitHub
commit 9c12a843f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 3 deletions

View file

@ -455,9 +455,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)