Skip to content
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

Fix extension querying when using WebGL2 #24055

Merged
merged 1 commit into from Aug 27, 2019
Merged

Commits on Aug 26, 2019

  1. Fix extension querying when using WebGL2

    This patch fixes a crash caused by using a deprecated GL call.
    Starting with OpenGL 3 (used by WebGL2), the `glGetString(GL_EXTENSIONS)`
    call is deprecated, and some drivers produce GL_INVALID_ENUM error.
    Querying can be done by checking the number of extensions first,
    then getting the extensions one by one.
    mmatyas committed Aug 26, 2019
You can’t perform that action at this time.