mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-23 03:40:27 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue