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

Added 3.2 clamp to core profile creation to allow drivers with lesser… #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DuncanHopkins
Copy link

… compatibility profile to create core profiles.

This isolate the Major/Minor GL version generation for core context creation and clamps it to at least 3.2.
Fixes issues using the MESA RADV drivers where the comp context is at 3.0 and causes core contexts to fail because the values are too low.

Opens the option to also use the GLX_MESA_query_renderer to query the actual max Core context in a single place in the code.

… compatibility profile to create core profiles.
@DuncanHopkins DuncanHopkins changed the title Added 3.2 clamp to core profile creation to allow drivers will lesser… Added 3.2 clamp to core profile creation to allow drivers with lesser… Dec 10, 2018
@SaschaWillems
Copy link
Owner

Sorry, I somehow missed this one.

Thx for this PR, very much appreciated.

Will test this out on a few devices first though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants