Second attempt at fixing the build for the crapple platform
This commit is contained in:
parent
c56197b1d2
commit
8a51044c68
1 changed files with 1 additions and 5 deletions
|
|
@ -102,11 +102,7 @@ public:
|
|||
|
||||
#ifdef __APPLE__ // crapple only implemented std::filesystem::absolute on the very latest macOS.
|
||||
std::string location = loc.getStringNameOrNum(false);
|
||||
if (absolute) {
|
||||
append(std::filesystem::absolute(location).string());
|
||||
} else {
|
||||
append(location);
|
||||
}
|
||||
append(location);
|
||||
#else
|
||||
if(loc.getFilename() == nullptr && shaderFileName != nullptr && absolute) {
|
||||
append(std::filesystem::absolute(shaderFileName).string());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue