From: Nanley Chery Date: Tue, 1 Dec 2015 18:42:21 +0000 (-0800) Subject: mesa/version: Update gl_extensions::Version during version override X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=808e75279618d887daeee8ab2025e39c863234ac;p=mesa.git mesa/version: Update gl_extensions::Version during version override Commit a16ffb743ced9fde80b2485dfc2d86ae74e86f25, 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" Signed-off-by: Nanley Chery Reviewed-by: Marta Lofstedt --- diff --git a/src/mesa/main/version.c b/src/mesa/main/version.c index 314b26dc74f..e92bb111cc4 100644 --- a/src/mesa/main/version.c +++ b/src/mesa/main/version.c @@ -199,6 +199,7 @@ _mesa_override_gl_version(struct gl_context *ctx) * " */ create_version_string(ctx, _mesa_is_gles(ctx) ? "OpenGL ES " : ""); + ctx->Extensions.Version = ctx->Version; } }