summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorNanley Chery <[email protected]>2015-12-01 10:42:21 -0800
committerNanley Chery <[email protected]>2015-12-03 10:20:34 -0800
commit808e75279618d887daeee8ab2025e39c863234ac (patch)
tree7fd79087886a7dcc35c2d5b84542d8ad2f59f81b /src/mesa
parenta0f1bc18e51566e62a0a0a314650b7aa8eb192e5 (diff)
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" <[email protected]> Signed-off-by: Nanley Chery <[email protected]> Reviewed-by: Marta Lofstedt <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/version.c1
1 files changed, 1 insertions, 0 deletions
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)
* <version number><space><vendor-specific information>"
*/
create_version_string(ctx, _mesa_is_gles(ctx) ? "OpenGL ES " : "");
+ ctx->Extensions.Version = ctx->Version;
}
}