mirror of
https://github.com/OpenMW/openmw.git
synced 2025-12-08 22:04:31 +00:00
make use of std::filesystem::absolute as ::system_complete was dropped from spec
This commit is contained in:
parent
787f8fb627
commit
339169b60a
1 changed files with 1 additions and 1 deletions
|
|
@ -208,7 +208,7 @@ namespace
|
||||||
int runApplication(int argc, char *argv[])
|
int runApplication(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
#ifdef __APPLE__
|
#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());
|
std::filesystem::current_path(binary_path.parent_path());
|
||||||
setenv("OSG_GL_TEXTURE_STORAGE", "OFF", 0);
|
setenv("OSG_GL_TEXTURE_STORAGE", "OFF", 0);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue