-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
glx: correctly handle ARB_create_context lack/presence
Earlier commit loosened the check of ARB_create_context, for OpenGL 3.2 and earlier. Although the commit did not fully consider that the extension is required for - all context attributes (missing robustness), and - GLES* profiles As a result, any GL robustness or GLES* context would result in a GL one, w/o the robustness flag, being created. Update and sync both attribute validation and runtime check. Issue: waffle-gl/waffle#50 Fixes: e7f0314 ("glx: Don't use ARB_create_context with pre 3.2 contexts") Cc: Jose Fonseca <[email protected]> Cc: Chad Versace <[email protected]> Signed-off-by: Emil Velikov <[email protected]>
- Loading branch information
Showing
3 changed files
with
48 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters