mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 14:19:02 +00:00
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:
commit
9c12a843f8
3 changed files with 7 additions and 3 deletions
|
@ -63,6 +63,7 @@
|
|||
#include "VideoCommon/FrameDump.h"
|
||||
#include "VideoCommon/FramebufferManager.h"
|
||||
#include "VideoCommon/FramebufferShaderGen.h"
|
||||
#include "VideoCommon/FreeLookCamera.h"
|
||||
#include "VideoCommon/ImageWrite.h"
|
||||
#include "VideoCommon/NetPlayChatUI.h"
|
||||
#include "VideoCommon/NetPlayGolfUI.h"
|
||||
|
@ -406,6 +407,11 @@ void Renderer::CheckForConfigChanges()
|
|||
|
||||
UpdateActiveConfig();
|
||||
|
||||
if (g_ActiveConfig.bFreeLook)
|
||||
{
|
||||
g_freelook_camera.SetControlType(g_ActiveConfig.iFreelookControlType);
|
||||
}
|
||||
|
||||
// Update texture cache settings with any changed options.
|
||||
g_texture_cache->OnConfigChanged(g_ActiveConfig);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue