forked from Dynamitos/Seele
Trying to fix wrong tex coord imports
This commit is contained in:
1 parent
91c31bc219
commit
ee412201e6
13 files changed
+78
-83
No files matched your search
@@ -14,7 +14,11 @@ void GameInterface::reload() {
|
||||
destroyInstance(game);
|
||||
FreeLibrary(lib);
|
||||
}
|
||||
std::filesystem::copy(dllPath.parent_path().parent_path() / "res" / "shaders", "./shaders/game", std::filesystem::copy_options::overwrite_existing);
|
||||
auto shaderPath = dllPath.parent_path().parent_path() / "res" / "shaders";
|
||||
if (std::filesystem::exists(shaderPath))
|
||||
{
|
||||
std::filesystem::copy(shaderPath, "./shaders/game", std::filesystem::copy_options::overwrite_existing);
|
||||
}
|
||||
lib = LoadLibraryA(dllPath.string().c_str());
|
||||
createInstance = (decltype(createInstance))GetProcAddress(lib, "createInstance");
|
||||
destroyInstance = (decltype(destroyInstance))GetProcAddress(lib, "destroyInstance");
|
||||
|
||||
Reference in new issue
Block a user