UI: Remove extern global for UI message.

This commit is contained in:
Unknown W. Brackets committed 2021-04-10 18:42:40 -07:00
1 parent ca1a936d56
commit b5d21b4f9b
4 files changed
+13 -11

No files matched your search

+2 -2
View File
@@ -50,7 +50,6 @@
#include "Core/Core.h"
extern bool g_TakeScreenshot;
extern bool g_ShaderNameListChanged;
namespace MainWindow {
extern HINSTANCE hInst;
@@ -1069,9 +1068,10 @@ namespace MainWindow {
g_Config.vPostShaderNames.clear();
if (availableShaders[index] != "Off")
g_Config.vPostShaderNames.push_back(availableShaders[index]);
g_ShaderNameListChanged = true;
g_Config.bShaderChainRequires60FPS = PostShaderChainRequires60FPS(GetFullPostShadersChain(g_Config.vPostShaderNames));
NativeMessageReceived("gpu_resized", "");
NativeMessageReceived("postshader_updated", "");
break;
}