mesa: simplify MESA_GL_VERSION_OVERRIDE behavior of API override
authorMarek Olšák <marek.olsak@amd.com>
Tue, 6 Mar 2018 23:27:30 +0000 (18:27 -0500)
committerAndres Gomez <agomez@igalia.com>
Mon, 9 Apr 2018 10:47:40 +0000 (13:47 +0300)
commit806ab42c0f53064a774f002e311cfbb7ff10a667
treeffaf689800de1578acd391b6422c3e45b2b835d2
parentc6067fcd0747c85dee333b9b5726fc7fec998c1b
mesa: simplify MESA_GL_VERSION_OVERRIDE behavior of API override

v2:
 - Provide a correct explanation on the envvars documentation (Ian).
 - Provide a more correct explanation on the function comments (Andres).
v3:
 - Homogenize documentation and inline comments (Emil).
 - Correct a typo (Emil).

Fixes: 2599b92eb97 ("mesa: allow forcing >=3.1 compatibility contexts
with MESA_GL_VERSION_OVERRIDE")

Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Ian Romanick <ian.d.romanick@intel.com>
Cc: Eric Engestrom <eric.engestrom@imgtec.com>
Cc: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
docs/envvars.html
src/mesa/main/version.c