Bug 98182

Summary: Consider setting ctx->Version to the selected version, not highest supported version
Product: Mesa Reporter: Martina Kollarova <martina.kollarova>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED NOTABUG QA Contact: mesa-dev
Severity: normal    
Priority: medium    
Version: 11.2   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Martina Kollarova 2016-10-10 12:47:24 UTC
Mesa currently sets ctx->Version to the highest version the driver supports for
the selected profile, which may be higher than the GL version requested in
glXCreateContextAttribsARB. An example of a user bug due to this behavior: https://bugs.freedesktop.org/show_bug.cgi?id=95374.

There should at least be some documentation about the current behavior in the gl_context struct.
Comment 1 Kenneth Graunke 2016-10-16 22:32:07 UTC
As far as I know, that's how GL is expected to work.  Other implementations do this as well.  It's unlikely to change.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.