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

Jordan Justen jljusten at gmail.com
Tue Sep 4 10:39:51 PDT 2012


On Tue, Sep 4, 2012 at 9:55 AM, Chad Versace
<chad.versace at linux.intel.com> 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> ---
>> docs/envvars.html       |   11 +++-- src/mesa/main/context.c |    4 ++
>> src/mesa/main/version.c |  104
>> ++++++++++++++++++++++++++++++++++++++++++----- src/mesa/main/version.h |
>> 3 ++ 4 files changed, 108 insertions(+), 14 deletions(-)
>
> The old  function version.c:override_version is still getting called, hence
> ctx->Version is getting overridden twice. Is that intentional? If not, then I
> think this patch should delete version.c:override_version.

You're right. I'll clean this up in a v2.

-Jordan


More information about the mesa-dev mailing list