Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work on iOS with png texture #35

Open
jpsarda opened this issue May 2, 2019 · 1 comment
Open

Doesn't work on iOS with png texture #35

jpsarda opened this issue May 2, 2019 · 1 comment

Comments

@jpsarda
Copy link

jpsarda commented May 2, 2019

I have a gltf model with an extenal .bin and .png file, but it seems thet the png file is not loaded.
I've looked into the code and I see these lines which is not good news I guess...
So basically it doesn't work on iOS when you have an texture image to load along with the .gltf ?

#if SEEMS_TO_HAVE_PNG_LOADING_BUG
 // FIXME: this workaround doesn't work for iOS...
return UIImage(cgImage: cgImage)
@jpsarda jpsarda changed the title Dosn't work on iOS with png Doesn't work on iOS with png May 2, 2019
@jpsarda jpsarda changed the title Doesn't work on iOS with png Doesn't work on iOS with png texture May 2, 2019
@jpsarda
Copy link
Author

jpsarda commented May 2, 2019

Well I just removed the #if SEEMS_TO_HAVE_PNG_LOADING_BUG and it seems to work on iOS now, so apparently it seems that this png bug is not present...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant