mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-26 20:37:25 +00:00
Merge branch 'fix/macos' into 'master'
make use of std::filesystem::absolute as ::system_complete was dropped from spec See merge request OpenMW/openmw!1990
This commit is contained in:
commit
5d88b39574
@ -211,7 +211,7 @@ int runApplication(int argc, char *argv[])
|
||||
Platform::init();
|
||||
|
||||
#ifdef __APPLE__
|
||||
std::filesystem::path binary_path = std::filesystem::system_complete(std::filesystem::path(argv[0]));
|
||||
std::filesystem::path binary_path = std::filesystem::absolute(std::filesystem::path(argv[0]));
|
||||
std::filesystem::current_path(binary_path.parent_path());
|
||||
setenv("OSG_GL_TEXTURE_STORAGE", "OFF", 0);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user