From 5b3867dd60d1a855ee642ca4afa4149cfd42cb8b Mon Sep 17 00:00:00 2001 From: Asmodean- Date: Sat, 15 Nov 2014 21:33:23 +0000 Subject: [PATCH] GSdx: change post-processing directory & name. --- plugins/GSdx/GSDevice11.cpp | 2 +- plugins/GSdx/GSSettingsDlg.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/GSdx/GSDevice11.cpp b/plugins/GSdx/GSDevice11.cpp index 86d17c74c2..914853377e 100644 --- a/plugins/GSdx/GSDevice11.cpp +++ b/plugins/GSdx/GSDevice11.cpp @@ -742,7 +742,7 @@ void GSDevice11::InitExternalFX() if (!ExShader_Compiled) { try { - CompileShader("shader.fx", "ps_main", NULL, &m_shaderfx.ps); + CompileShader("shaders/GSdx.fx", "ps_main", NULL, &m_shaderfx.ps); } catch (GSDXRecoverableError) { printf("GSdx: failed to compile external post-processing shader. \n"); diff --git a/plugins/GSdx/GSSettingsDlg.cpp b/plugins/GSdx/GSSettingsDlg.cpp index 66acffba67..89656965dd 100644 --- a/plugins/GSdx/GSSettingsDlg.cpp +++ b/plugins/GSdx/GSSettingsDlg.cpp @@ -297,8 +297,8 @@ bool GSSettingsDlg::OnCommand(HWND hWnd, UINT id, UINT code) 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("shaderfx_conf", "shaders/GSdx_FX_Settings.ini"); + theApp.SetConfig("shaderfx_glsl", "shaders/GSdx.fx"); theApp.SetConfig("UserHacks", (int)IsDlgButtonChecked(m_hWnd, IDC_HACKS_ENABLED)); }