mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-25 21:41:04 +00:00
make use of std::filesystem::absolute as ::system_complete was dropped from spec
This commit is contained in:
parent
787f8fb627
commit
339169b60a
@ -208,7 +208,7 @@ namespace
|
||||
int runApplication(int argc, char *argv[])
|
||||
{
|
||||
#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