From: Jonathan White Date: Mon, 21 Jul 2008 21:34:38 +0000 (-0600) Subject: gallium: Temporary workaround for mismatched pipe create and pipe destroy X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=467e6526a8210e90cf47362b1b4b87b7d49e009d;p=mesa.git gallium: Temporary workaround for mismatched pipe create and pipe destroy --- diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c index 8b30e35684b..00447fff081 100644 --- a/src/mesa/state_tracker/st_context.c +++ b/src/mesa/state_tracker/st_context.c @@ -217,7 +217,10 @@ void st_destroy_context( struct st_context *st ) cso_destroy_context(cso); + /* Temporary workaround for mismatched pipe create and pipe destroy */ +#if !defined(PIPE_SUBSYSTEM_WINDOWS_USER) && !defined(PIPE_SUBSYSTEM_WINDOWS_CE) pipe->destroy( pipe ); +#endif free(ctx); }