glCapsViewer icon indicating copy to clipboard operation
glCapsViewer copied to clipboard

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

Open DuncanHopkins opened this issue 6 years ago • 1 comments

… 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.

DuncanHopkins avatar Dec 10 '18 12:12 DuncanHopkins

Sorry, I somehow missed this one.

Thx for this PR, very much appreciated.

Will test this out on a few devices first though.

SaschaWillems avatar Jan 28 '19 20:01 SaschaWillems