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 use of glXChooseFBConfig. #43

Merged
merged 1 commit into from Nov 30, 2015
Merged

Fix use of glXChooseFBConfig. #43

merged 1 commit into from Nov 30, 2015

Commits on Nov 30, 2015

  1. Fix use of glXChooseFBConfig.

    Based on https://www.opengl.org/sdk/docs/man2/xhtml/glXChooseFBConfig.xml
    the last parameter of the attributes array must be None (which == 0).
    
    Confusingly, this is different from GLX_NONE, which is non-zero.
    
    This fixes webgl context creation on some drivers, in particular nVidia proprietary drivers but probably others too.
    gw3583 committed Nov 30, 2015
You can’t perform that action at this time.