From b60e5a62fc47905f573d7548b0d6ef635e7e2ffb Mon Sep 17 00:00:00 2001 From: Kieran Hanrahan Date: Tue, 11 Nov 2014 00:17:21 +0000 Subject: [PATCH] Rearrange to right spot (I blame github editor ;p) --- plugins/GSdx/GSSettingsDlg.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/GSdx/GSSettingsDlg.cpp b/plugins/GSdx/GSSettingsDlg.cpp index eeb6ac8ab6..66acffba67 100644 --- a/plugins/GSdx/GSSettingsDlg.cpp +++ b/plugins/GSdx/GSSettingsDlg.cpp @@ -169,10 +169,6 @@ void GSSettingsDlg::OnInit() // External FX shader CheckDlgButton(m_hWnd, IDC_SHADER_FX, theApp.GetConfig("shaderfx", 0)); - // External FX Shader(OpenGL) - theApp.SetConfig("shaderfx_conf", "GSdx_FX_Settings.ini"); - theApp.SetConfig("shaderfx_glsl", "shader.fx"); - // Hacks CheckDlgButton(m_hWnd, IDC_HACKS_ENABLED, theApp.GetConfig("UserHacks", 0)); @@ -299,6 +295,10 @@ bool GSSettingsDlg::OnCommand(HWND hWnd, UINT id, UINT code) // External FX Shader theApp.SetConfig("shaderfx", (int)IsDlgButtonChecked(m_hWnd, IDC_SHADER_FX)); + + // External FX Shader(OpenGL) + theApp.SetConfig("shaderfx_conf", "GSdx_FX_Settings.ini"); + theApp.SetConfig("shaderfx_glsl", "shader.fx"); theApp.SetConfig("UserHacks", (int)IsDlgButtonChecked(m_hWnd, IDC_HACKS_ENABLED)); }