From: José Fonseca Date: Tue, 19 Aug 2008 01:24:13 +0000 (+0100) Subject: mesa: Call pipe->destroy on context destruction for all platforms. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7f2d349b2d27cb1f422677fdac1a9d92f61d8fce;p=mesa.git mesa: Call pipe->destroy on context destruction for all platforms. --- diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c index d014ace59fb..3b126e6c8f6 100644 --- a/src/mesa/state_tracker/st_context.c +++ b/src/mesa/state_tracker/st_context.c @@ -228,10 +228,7 @@ 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); }