summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan White <[email protected]>2008-07-21 15:34:38 -0600
committerBrian Paul <[email protected]>2008-07-21 15:34:38 -0600
commit467e6526a8210e90cf47362b1b4b87b7d49e009d (patch)
tree8bf3863ebd41a5bf355534a44810900b16f3f457
parent7e8f79e39dfb4ba0072e9d34e7fba958e3710f5b (diff)
gallium: Temporary workaround for mismatched pipe create and pipe destroy
-rw-r--r--src/mesa/state_tracker/st_context.c3
1 files changed, 3 insertions, 0 deletions
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);
}