[Mesa-stable] [PATCH v2] mesa/version: Update gl_extensions::Version during version override
Nanley Chery
nanleychery at gmail.com
Tue Dec 1 12:21:59 PST 2015
On Tue, Dec 01, 2015 at 10:44:43AM -0800, Nanley Chery wrote:
From: Nanley Chery <nanley.g.chery at intel.com>
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: Marta Lofstedt <marta.lofstedt at linux.intel.com>
Cc: Emil Velikov <emil.l.velikov at gmail.com>
Cc: "11.1" <mesa-stable at lists.freedesktop.org>
Signed-off-by: Nanley Chery <nanley.g.chery at intel.com>
---
Cc'd mesa-stable.
src/mesa/main/version.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/mesa/main/version.c b/src/mesa/main/version.c
index 314b26d..e92bb11 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;
}
}
--
2.6.2
More information about the mesa-stable
mailing list