[Mesa-dev] [PATCH] mesa: allow MESA_GL_VERSION_OVERRIDE to override the API type

Kenneth Graunke kenneth at whitecape.org
Tue Sep 4 14:57:28 PDT 2012


On 09/04/2012 12:35 PM, Jordan Justen wrote:
> On Tue, Sep 4, 2012 at 10:43 AM, Kenneth Graunke <kenneth at whitecape.org> wrote:
>> On 09/01/2012 10:14 AM, Jordan Justen wrote:
>>> Change the format to [MAJOR.MINOR][CORE|COMPAT]
>>> For example: 3.0, CORE, COMPAT, 3.2CORE
>>>
>>> Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
>>
>> Since we aren't going to support compatibility contexts, I would just
>> make MESA_GL_VERSION_OVERRIDE=3.1 force API_OPENGL_CORE.  It's simpler
>> to use and less code.
> 
> OVERRIDE=3.1 causing the API to automatically change seems a little
> unexpected to me.
> 
> Would we really want to tie the lack of GL>=3.1 + compatibility into
> mesa in this way?

Yes.



More information about the mesa-dev mailing list