Hi,

I just noticed that PVRTC texture compression support on iOS11 Safari isn't 
automatically enabled, the reason is that the extension is called 
WEBKIT_WEBGL_compressed_texture_pvrtc, while emscripten's automatic 
WebGL-extension-activation expects WEBGL_compressed_texture_pvrtc (see 
here: 
https://github.com/kripken/emscripten/blob/6dc4ac5f9e4d8484e273e4dcc554f809738cedd6/src/library_gl.js#L629)

I seem to remember that it worked at some time, but I can't say for sure, 
and if it worked, since when this was broken.

An easy workaround is to enable the extension manually with:

emscripten_webgl_enable_extension(ctx, 
"WEBKIT_WEBGL_compressed_texture_pvrtc")

(assuming you're using the emscripten_webgl_* functions to setup WebGL).

Would it make sense to add the extension to the list of automatically 
enabled extensions? I'm not sure because the WEBKIT_* prefix is 
experimental, and the workaround is easy enough for me.

Cheers,
-Floh.

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to