mesa: remove hard-coded OpenGL 3.2 compat limit
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 8 May 2018 00:35:40 +0000 (10:35 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 9 May 2018 04:24:43 +0000 (14:24 +1000)
commite7a7b712fe81aac96eaae267ad6cb5444f02e7f6
tree6378aca9b3df94ff7655e50279fb340c2eb4a28c
parent4560aad780b851f855a8adc72ea34ca4eb17634a
mesa: remove hard-coded OpenGL 3.2 compat limit

Just let validate_context_version() do it instead. This fixes
MESA_GL_VERSION_OVERRIDE for compat, it will also allow us to
enable new compat versions on a per driver bases in future.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/drivers/dri/common/dri_util.c