mesa: allow forcing >=3.1 compatibility contexts with MESA_GL_VERSION_OVERRIDE
authorMarek Olšák <marek.olsak@amd.com>
Sun, 14 Sep 2014 21:12:06 +0000 (23:12 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 24 Sep 2014 12:48:01 +0000 (14:48 +0200)
commit2599b92eb9751747d4eab8820384d2e5cc4f6801
tree973d0acdbb91e80b9a159e8c5bfce9aef4233cdf
parent10ffd98c34c2d730a50de21bc7b5c6fa483fbf9d
mesa: allow forcing >=3.1 compatibility contexts with MESA_GL_VERSION_OVERRIDE

E.g. the 4.0 compatibility profile can be forced with:

MESA_GL_VERSION_OVERRIDE=4.0COMPAT

Some tests that I have require 4.0 compatibility.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/version.c