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

iOS 10.1 Safari doesn't seem to loadTexture from data uris #1

Closed
benlanier opened this issue Oct 29, 2016 · 1 comment
Closed

iOS 10.1 Safari doesn't seem to loadTexture from data uris #1

benlanier opened this issue Oct 29, 2016 · 1 comment

Comments

@benlanier
Copy link

Viewing Basic.elm from the examples on iOS Safari appears to draw the bird sprite correctly, but neither text (via Console.print) nor pixel (via Console.putPixel) seem to have any result.

I've circumvented it for now by saving out the font and palette data uri's back to png's and replacing calls to WebGL.loadTexture with the resulting filenames in place of the data uri arguments, but I wonder why Safari on iOS 10.1 has issues loading the font and palette in that way.

@michael-twomey-rockalltech

Thanks for the bug report! I've been running into a lot of issues like this, webgl is a little inconsistent across devices. Hopefully it has a proper errors I can hook into (I'm ignoring texture errors at the moment). I was really hoping the data uri would work across the board as it makes the library much easier to work with.

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

2 participants