mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-08-14 15:55:55 +08:00
Merge pull request #81 from mosra/emscripten-file-paths
Don't try to expand file paths on Emscripten.
This commit is contained in:
commit
8c29e35b42
@ -1486,7 +1486,7 @@ std::string ExpandFilePath(const std::string &filepath, void *) {
|
||||
#else
|
||||
|
||||
#if defined(TARGET_OS_IPHONE) || defined(TARGET_IPHONE_SIMULATOR) || \
|
||||
defined(__ANDROID__)
|
||||
defined(__ANDROID__) || defined(__EMSCRIPTEN__)
|
||||
// no expansion
|
||||
std::string s = filepath;
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user