st/python: Remove flags from flush function.
authorVinson Lee <vlee@vmware.com>
Fri, 11 Mar 2011 22:00:32 +0000 (14:00 -0800)
committerVinson Lee <vlee@vmware.com>
Fri, 11 Mar 2011 22:00:32 +0000 (14:00 -0800)
src/gallium/state_trackers/python/p_context.i

index 360a4220ea9fc4ac4518355441882c7341c4a99a..17d25ad0aa6a87cc6294e784e1db64b0b87d6308 100644 (file)
@@ -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 );