There are very few such prefixed GL extensions, and since then the Khronos group has decided to no longer utilize prefixes like this as a form to denote "beta" or "experimental", so even if we added all cases like this, there should only be a handful. Pushed https://git.io/vdNAZ for this.
2017-10-17 13:12 GMT+03:00 Floh <flo...@gmail.com>: > 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 emscripten-discuss+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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 emscripten-discuss+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.