-
Notifications
You must be signed in to change notification settings - Fork 117
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
GL_EXT_frag_depth reported missing even if enabled #1405
GL_EXT_frag_depth reported missing even if enabled #1405
Comments
Thanks, that looks like a bug. In Exokit WebGL1 contexts actually have WebGL2 functionality so you should have However, to fix this for WebGL1 compatibility, I think it might be sufficient to not slice out the extension pragma here: https://github.com/modulesio/webgl-to-opengl/blob/e1db71cddfd7b3023b89bee5dae54502fb35e4c8/index.js#L15 ( |
Yes, that fixes the problem. Thanks! Maybe you can also include the fix upstream in webgl-to-opengl then. I'll close this issue. |
Yup, will PR that. Thanks for testing! |
Describe the bug
When using gl_FragDepthEXT in a WebGL 1 context with exokit, the following error message is printed on the command line even when GL_EXT_frag_depth is enabled (unimportant parts omitted in the text below).
To Reproduce
Open any web page using GL_EXT_frag_depth and gl_FragDepthEXT in exokit.
System information:
OS: Ubuntu 18.04
Exokit Version: master branch from 2019-08-27 (today)
Node version: v12.2.0
Is your Exokit downloaded or built? Built
GPU: NVIDIA GTX 1070
Driver version: 430.40
The text was updated successfully, but these errors were encountered: