gallium: Temporary workaround for mismatched pipe create and pipe destroy
authorJonathan White <jwhite@tungstengraphics.com>
Mon, 21 Jul 2008 21:34:38 +0000 (15:34 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 21 Jul 2008 21:34:38 +0000 (15:34 -0600)
src/mesa/state_tracker/st_context.c

index 8b30e35684bed221e7d107b2620dd1988f71de56..00447fff081e2c3a52dd9f7117397b047589b82e 100644 (file)
@@ -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);
 }