-
Notifications
You must be signed in to change notification settings - Fork 240
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
TypeError: gl.hasSRGBExt is null #1
Comments
Thanks for writing this up. I've reproduced this on two other copies of Firefox (one on Windows 10, one on Windows 7, with updated-this-year drivers). Also, this appears to affect Edge as well. /cc @snagy any thoughts here? Can we treat the sRGB extension as optional? Or can we look for WebGL 2 support with sRGB in core, which seems to enjoy wider browser support than the sRGB extension for WebGL 1? |
I merged a workaround in #6 that falls back on I'm still looking for feedback on whether this is the "right" thing to do, or if there is a better way. |
Works on my "real" PC. I'll test it with the old one ASA I have the chance, but until then, assume that the issue is fixed now. (Sorry, no other (technical) feedback from me for this point - I'm not familiar with the details of GL texture handling, color spaces, HDR etc...) |
@emackey I think your solution is the right way to handle it. This was my oversight in the previous revision. Thanks for the fix! |
Thanks @snagy! |
This appears in the live demo, on FireFox 52.1.2, Windows (32bit), GeForce 8800 GT.
Most likely an issue of outdated drivers or so (this is not my "real" PC), but maybe it can or should somehow be handled, I'm not sure how common this extension is.
Stack trace:
The text was updated successfully, but these errors were encountered: