Fix DoesAssetExist

This commit is contained in:
TheBrokenRail
2023-11-02 13:31:24 -04:00
parent e3fa758be6
commit 5bf7fae0b1

View File

@@ -214,7 +214,7 @@ bool DoesAssetExist(const std::string & fileName)
}
#else
// access works just fine on linux and friends
#define DoesAssetExist(fileName) (XPL_ACCESS(fileName, 0) == 0)
#define DoesAssetExist(fileName) (XPL_ACCESS("assets/" fileName, 0) == 0)
#endif
void CheckOptionalTextureAvailability()