mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-07 10:05:47 +00:00
video config
This commit is contained in:
parent
cc8db0bd01
commit
4b9e68ec40
1 changed files with 2 additions and 1 deletions
|
@ -24,6 +24,7 @@
|
||||||
#include "VideoCommon/Fifo.h"
|
#include "VideoCommon/Fifo.h"
|
||||||
#include "VideoCommon/FramebufferManager.h"
|
#include "VideoCommon/FramebufferManager.h"
|
||||||
#include "VideoCommon/FreeLookCamera.h"
|
#include "VideoCommon/FreeLookCamera.h"
|
||||||
|
#include "VideoCommon/GraphicsModSystem/Runtime/GraphicsModBackend.h"
|
||||||
#include "VideoCommon/GraphicsModSystem/Runtime/GraphicsModManager.h"
|
#include "VideoCommon/GraphicsModSystem/Runtime/GraphicsModManager.h"
|
||||||
#include "VideoCommon/OnScreenDisplay.h"
|
#include "VideoCommon/OnScreenDisplay.h"
|
||||||
#include "VideoCommon/PixelShaderManager.h"
|
#include "VideoCommon/PixelShaderManager.h"
|
||||||
|
@ -375,7 +376,7 @@ void CheckForConfigChanges()
|
||||||
OSD::AddMessage("Video config changed, reloading shaders.", OSD::Duration::NORMAL);
|
OSD::AddMessage("Video config changed, reloading shaders.", OSD::Duration::NORMAL);
|
||||||
g_gfx->WaitForGPUIdle();
|
g_gfx->WaitForGPUIdle();
|
||||||
g_vertex_manager->InvalidatePipelineObject();
|
g_vertex_manager->InvalidatePipelineObject();
|
||||||
g_vertex_manager->NotifyCustomShaderCacheOfHostChange(new_host_config);
|
system.GetGraphicsModManager().GetBackend().SetHostConfig(new_host_config);
|
||||||
g_shader_cache->SetHostConfig(new_host_config);
|
g_shader_cache->SetHostConfig(new_host_config);
|
||||||
g_shader_cache->Reload();
|
g_shader_cache->Reload();
|
||||||
g_framebuffer_manager->RecompileShaders();
|
g_framebuffer_manager->RecompileShaders();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue