[Mesa-dev] [PATCH] mesa: Allow override of GL version with environment variables
Brian Paul
brian.e.paul at gmail.com
Mon Sep 26 12:37:38 PDT 2011
On Mon, Sep 26, 2011 at 1:05 PM, Chad Versace <chad at chad-versace.us> wrote:
> It is necessary to manually set the GL version to 3.0 in order to run
> Piglit tests using glGetUniform*().
>
> This patch allows one to override the version of an OpenGL, OpenGL ES1, or
> OpenGL ES2 context by setting the environment variable MESA_GL_VERSION,
> MESA_GLES1_VERSION, or MESA_GLES2_VERSION.
I know it's a bit verbose, but maybe append "_OVERRIDE" on those names
to be more like MESA_EXTENSION_OVERRIDE.
Also, please document these in docs/envvars.html
Otherwise, Reviewed-by: Brian Paul <brianp at vmware.com>
-Brian
More information about the mesa-dev
mailing list