win32: display slang shaders in selection dialog

This commit is contained in:
OV2 2019-01-31 23:18:18 +01:00
parent cdf2061612
commit 1dc7eec15d
1 changed files with 1 additions and 1 deletions

View File

@ -7717,7 +7717,7 @@ INT_PTR CALLBACK DlgFunky(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam)
ofn.lStructSize = sizeof(OPENFILENAME); ofn.lStructSize = sizeof(OPENFILENAME);
ofn.hwndOwner = hDlg; 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.lpstrFile = openFileName;
ofn.lpstrTitle = TEXT("Select Shader"); ofn.lpstrTitle = TEXT("Select Shader");
ofn.lpstrDefExt = TEXT("shader"); ofn.lpstrDefExt = TEXT("shader");