Thanks Nanley, This works fine!
Reviewed-by: Marta Lofstedt <[email protected]> > -----Original Message----- > From: mesa-dev [mailto:[email protected]] On > Behalf Of Nanley Chery > Sent: Tuesday, December 1, 2015 9:22 PM > To: [email protected] > Cc: Chery, Nanley G; 11.1; Emil Velikov > Subject: [Mesa-dev] [PATCH v2] mesa/version: Update > gl_extensions::Version during version override > > On Tue, Dec 01, 2015 at 10:44:43AM -0800, Nanley Chery wrote: > From: Nanley Chery <[email protected]> > > 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 <[email protected]> > Cc: Emil Velikov <[email protected]> > Cc: "11.1" <[email protected]> > Signed-off-by: Nanley Chery <[email protected]> > --- > > 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 > > _______________________________________________ > mesa-dev mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/mesa-dev _______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
