aboutsummaryrefslogtreecommitdiff
path: root/mesalib/docs
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/docs')
-rw-r--r--mesalib/docs/envvars.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/mesalib/docs/envvars.html b/mesalib/docs/envvars.html
index 986d2f8eb..6402ec507 100644
--- a/mesalib/docs/envvars.html
+++ b/mesalib/docs/envvars.html
@@ -58,6 +58,10 @@ copied into a fixed-size buffer without truncating.
If the extension string is too long, the buffer overrun can cause the game
to crash.
This is a work-around for that.
+<li>MESA_GL_VERSION_OVERRIDE - changes the value returned by
+glGetString(GL_VERSION). Valid values are point-separated version numbers,
+such as "3.0". Mesa will not really implement all the features of the given
+version if it's higher than what's normally reported.
<li>MESA_GLSL - <a href="shading.html#envvars">shading language compiler options</a>
</ul>