Mesa (master): st/python: Remove flags from flush function.

Vinson Lee vlee at kemper.freedesktop.org
Fri Mar 11 22:01:01 UTC 2011


Module: Mesa
Branch: master
Commit: 4faa95e74d3784b15551a8de171d081e7dd1e6c0
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4faa95e74d3784b15551a8de171d081e7dd1e6c0

Author: Vinson Lee <vlee at vmware.com>
Date:   Fri Mar 11 14:00:32 2011 -0800

st/python: Remove flags from flush function.

---

 src/gallium/state_trackers/python/p_context.i |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/state_trackers/python/p_context.i b/src/gallium/state_trackers/python/p_context.i
index 360a422..17d25ad 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 );




More information about the mesa-commit mailing list