intel: update max versions based on MESA_GL_VERSION_OVERRIDE
authorJordan Justen <jordan.l.justen@intel.com>
Fri, 22 Feb 2013 00:59:33 +0000 (16:59 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Fri, 1 Mar 2013 05:50:56 +0000 (21:50 -0800)
commitfde59a27fb981e9d05773891a453b2b142f85871
tree35169a868d3a55aa7ef0f7106f2561aef5831b84
parentc4e059a359f26918117c2c43bf90496325851c4d
intel: update max versions based on MESA_GL_VERSION_OVERRIDE

If the override is version is >= 3.1, then update the
max_gl_core_version. Otherwise, update max_gl_compat_version.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/intel/intel_screen.c