diff --git a/docs/envvars.html b/docs/envvars.html
index ba83335d0b0..8c4597c9c76 100644
--- a/docs/envvars.html
+++ b/docs/envvars.html
@@ -91,6 +91,14 @@ This is only valid for versions >= 3.0.
Mesa may not really implement all the features of the given version.
(for developers only)
+MESA_GLES_VERSION_OVERRIDE - changes the value returned by
+glGetString(GL_VERSION) for OpenGL ES.
+
+- The format should be MAJOR.MINOR
+
- Examples: 2.0, 3.0, 3.1
+
- Mesa may not really implement all the features of the given version.
+(for developers only)
+
MESA_GLSL_VERSION_OVERRIDE - changes the value returned by
glGetString(GL_SHADING_LANGUAGE_VERSION). Valid values are integers, such as
"130". Mesa will not really implement all the features of the given language version