mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
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
This commit is contained in:
@ -91,6 +91,7 @@ void VideoConfig::Refresh()
|
||||
bDumpXFBTarget = Config::Get(Config::GFX_DUMP_XFB_TARGET);
|
||||
bDumpFramesAsImages = Config::Get(Config::GFX_DUMP_FRAMES_AS_IMAGES);
|
||||
bFreeLook = Config::Get(Config::GFX_FREE_LOOK);
|
||||
iFreelookControlType = Config::Get(Config::GFX_FREE_LOOK_CONTROL_TYPE);
|
||||
bUseFFV1 = Config::Get(Config::GFX_USE_FFV1);
|
||||
sDumpFormat = Config::Get(Config::GFX_DUMP_FORMAT);
|
||||
sDumpCodec = Config::Get(Config::GFX_DUMP_CODEC);
|
||||
|
Reference in New Issue
Block a user