summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2008-08-19 02:24:13 +0100
committerJosé Fonseca <[email protected]>2008-08-19 02:24:13 +0100
commit7f2d349b2d27cb1f422677fdac1a9d92f61d8fce (patch)
treeda30cc9d1835d94e5c4e8137c31b35e5c4d5aa35 /src/mesa
parentf9e14e0daca3b2f3662a68413c2fa71c05375b8e (diff)
mesa: Call pipe->destroy on context destruction for all platforms.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/st_context.c3
1 files changed, 0 insertions, 3 deletions
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);
}