mesa/version: Update gl_extensions::Version during version override

Commit a16ffb743c, which introduced
gl_extensions::Version, updates the field when the context version
is computed and when entering/exiting meta. Update this field when
the version is overridden as well.

Cc: "11.1" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Marta Lofstedt <marta.lofstedt@intel.com>
This commit is contained in:
Nanley Chery 2015-12-01 10:42:21 -08:00
parent a0f1bc18e5
commit 808e752796
1 changed files with 1 additions and 0 deletions

View File

@ -199,6 +199,7 @@ _mesa_override_gl_version(struct gl_context *ctx)
* <version number><space><vendor-specific information>"
*/
create_version_string(ctx, _mesa_is_gles(ctx) ? "OpenGL ES " : "");
ctx->Extensions.Version = ctx->Version;
}
}