mesa: Call pipe->destroy on context destruction for all platforms.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Tue, 19 Aug 2008 01:24:13 +0000 (02:24 +0100)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Tue, 19 Aug 2008 01:24:13 +0000 (02:24 +0100)
src/mesa/state_tracker/st_context.c

index d014ace59fb4c6875f8ef9c64a7098b9b156ac01..3b126e6c8f6e9a5624a8754e7bb3730378200b11 100644 (file)
@@ -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);
 }