mesa: fix glsl version mismatch in compat profile
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 10 Apr 2018 11:40:11 +0000 (21:40 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Tue, 10 Apr 2018 22:05:19 +0000 (08:05 +1000)
commita05faf80c380a03347604e79136627267ff9f893
tree20c62eb188889f9f1b684925aea4aa061e41fbff
parent0babc8e5d665e54783c926b89183ab9a596aa04c
mesa: fix glsl version mismatch in compat profile

Drivers that only support compat 3.0 were reporting GLSL 1.40
support. This fixes issues with the menu of Dawn of War II.

Fixes: a0c8b49284ef "mesa: enable OpenGL 3.1 with ARB_compatibility"
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105807
src/mesa/main/version.c