mesa: set override_version per api version override
authorTapani Pälli <tapani.palli@intel.com>
Tue, 16 Jun 2015 10:46:47 +0000 (13:46 +0300)
committerMartin Peres <martin.peres@linux.intel.com>
Tue, 16 Jun 2015 10:52:01 +0000 (13:52 +0300)
commit7d88ab42b9dda825feddbae774a2a48ddf3cbec2
tree920f3ec1ff0074f437cb483ecaf59017b5aea403
parent1a6220b416f02e56575894efbbd1717c9427c763
mesa: set override_version per api version override

Before 9b5e92f get_gl_override was called only once, but now it is
called for multiple APIs (GLES2, GL), version needs to be set always.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90797
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Martin Peres <martin.peres@linux.intel.com>
Tested-by: Martin Peres <martin.peres@linux.intel.com>
src/mesa/main/version.c