diff --git a/src/render/GUIFunction.cpp b/src/render/GUIFunction.cpp index d1f575b..a854de9 100644 --- a/src/render/GUIFunction.cpp +++ b/src/render/GUIFunction.cpp @@ -24,6 +24,7 @@ std::string GUIFunction::openFileFolderDialog() COMDLG_FILTERSPEC fileType[] = { + {L"compled shader",L"*.spv*"}, {L"gltf model files",L"*.gltf*"}, {L"gltf model files",L"*.GLTF*"}, diff --git a/src/render/render.cpp b/src/render/render.cpp index 8b35f46..df56a6f 100644 --- a/src/render/render.cpp +++ b/src/render/render.cpp @@ -1672,7 +1672,7 @@ std::string strFilePath; strFilePath = guiFunc.openFileFolderDialog(); - filePath.glTFModelFilePath = strFilePath; + filePath.modelVertShaderPath = strFilePath; loadAssets(); }