From: Vinson Lee Date: Fri, 11 Mar 2011 22:00:32 +0000 (-0800) Subject: st/python: Remove flags from flush function. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4faa95e74d3784b15551a8de171d081e7dd1e6c0;p=mesa.git st/python: Remove flags from flush function. --- diff --git a/src/gallium/state_trackers/python/p_context.i b/src/gallium/state_trackers/python/p_context.i index 360a4220ea9..17d25ad0aa6 100644 --- a/src/gallium/state_trackers/python/p_context.i +++ b/src/gallium/state_trackers/python/p_context.i @@ -400,7 +400,7 @@ error1: void flush(unsigned flags = 0) { struct pipe_fence_handle *fence = NULL; - $self->pipe->flush($self->pipe, flags | PIPE_FLUSH_RENDER_CACHE, &fence); + $self->pipe->flush($self->pipe, &fence); if(fence) { /* TODO: allow asynchronous operation */ $self->pipe->screen->fence_finish( $self->pipe->screen, fence, PIPE_TIMEOUT_INFINITE );