Mesa (master): st/python: Clean up fence_finish.

Vinson Lee vlee at kemper.freedesktop.org
Fri Mar 11 21:35:31 UTC 2011


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Fri Mar 11 13:35:06 2011 -0800

st/python: Clean up fence_finish.

---

 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 4ccc4c0..360a422 100644
--- a/src/gallium/state_trackers/python/p_context.i
+++ b/src/gallium/state_trackers/python/p_context.i
@@ -403,7 +403,7 @@ error1:
       $self->pipe->flush($self->pipe, flags | PIPE_FLUSH_RENDER_CACHE, &fence);
       if(fence) {
          /* TODO: allow asynchronous operation */ 
-         $self->pipe->screen->fence_finish( $self->pipe->screen, fence, 0, PIPE_TIMEOUT_INFINITE );
+         $self->pipe->screen->fence_finish( $self->pipe->screen, fence, PIPE_TIMEOUT_INFINITE );
          $self->pipe->screen->fence_reference( $self->pipe->screen, &fence, NULL );
       }
    }




More information about the mesa-commit mailing list