[Mesa-stable] [Mesa-dev] [PATCH v2] mesa/version: Update gl_extensions::Version during version override
Lofstedt, Marta
marta.lofstedt at intel.com
Wed Dec 2 02:02:47 PST 2015
Thanks Nanley,
This works fine!
Reviewed-by: Marta Lofstedt <marta.lofstedt at intel.com>
> -----Original Message-----
> From: mesa-dev [mailto:mesa-dev-bounces at lists.freedesktop.org] On
> Behalf Of Nanley Chery
> Sent: Tuesday, December 1, 2015 9:22 PM
> To: mesa-dev at lists.freedesktop.org
> 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 <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
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-stable
mailing list