mesa: Call pipe->destroy on context destruction for all platforms.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user