From 1dc7eec15d42a46568b89b856fcbeeece507d846 Mon Sep 17 00:00:00 2001 From: OV2 Date: Thu, 31 Jan 2019 23:18:18 +0100 Subject: [PATCH] win32: display slang shaders in selection dialog --- win32/wsnes9x.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32/wsnes9x.cpp b/win32/wsnes9x.cpp index 06080d36..d0068400 100644 --- a/win32/wsnes9x.cpp +++ b/win32/wsnes9x.cpp @@ -7717,7 +7717,7 @@ INT_PTR CALLBACK DlgFunky(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam) ofn.lStructSize = sizeof(OPENFILENAME); ofn.hwndOwner = hDlg; - ofn.lpstrFilter = TEXT("Shader Files\0*.shader;*.cg;*.cgp;*.glsl;*.glslp\0All Files\0*.*\0\0"); + ofn.lpstrFilter = TEXT("Shader Files\0*.shader;*.cg;*.cgp;*.glsl;*.glslp;*.slang;*.slangp\0All Files\0*.*\0\0"); ofn.lpstrFile = openFileName; ofn.lpstrTitle = TEXT("Select Shader"); ofn.lpstrDefExt = TEXT("shader");