webgl-rs
webgl-rs copied to clipboard
Blank page in firefox 57
As in title.
OS: ubuntu 17.04
I'm also getting a blank page. I think it's because you're using a WebGL2 context which isn't supported on a lot of systems.
https://webglstats.com/webgl 97% support https://webglstats.com/webgl2 39% support
thanks for the report. I'm using chrome on windows. I changed to webgl1 context. there is an error related to WeakMap on firefox. but I don't think browser compatibility is a focus at this point.
This appears to be a bug in Firefox. I just replicated this error in nightly on OSX. Steps to replicate:
var canvas = document.createElement('canvas')
var ctx = canvas.getContext('webgl')
var buffer = ctx.createBuffer()
var weakMap = new WeakMap()
weakMap.set(buffer, 'some value')
I'll file a bug in the appropriate component and link to it here.
Filed https://bugzilla.mozilla.org/show_bug.cgi?id=1428438