mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-08-16 19:06:01 +08:00
Don't try to expand file paths on Emscripten.
Since the same is done on all mobile platforms already, I think it should not do any harm. Without this I was getting compilation/linker errors.
This commit is contained in:
parent
39abfb5f91
commit
9f04583280
@ -1486,7 +1486,7 @@ std::string ExpandFilePath(const std::string &filepath, void *) {
|
|||||||
#else
|
#else
|
||||||
|
|
||||||
#if defined(TARGET_OS_IPHONE) || defined(TARGET_IPHONE_SIMULATOR) || \
|
#if defined(TARGET_OS_IPHONE) || defined(TARGET_IPHONE_SIMULATOR) || \
|
||||||
defined(__ANDROID__)
|
defined(__ANDROID__) || defined(__EMSCRIPTEN__)
|
||||||
// no expansion
|
// no expansion
|
||||||
std::string s = filepath;
|
std::string s = filepath;
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user