st/python: Add timeout parameter to fence_finish.
authorVinson Lee <vlee@vmware.com>
Wed, 9 Mar 2011 00:18:16 +0000 (16:18 -0800)
committerVinson Lee <vlee@vmware.com>
Wed, 9 Mar 2011 00:18:16 +0000 (16:18 -0800)
This is a follow-up to commit b39bccbd4ed71e9585da4cf5acf7b887b2e90899.

Fixes Linux SCons build.

src/gallium/state_trackers/python/p_context.i

index b30050bf6d4e5664643ba47d2defb0c23d64806f..4ccc4c0b3ab2bf5911d3279103c366ddfefd9430 100644 (file)
@@ -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 );
+         $self->pipe->screen->fence_finish( $self->pipe->screen, fence, 0, PIPE_TIMEOUT_INFINITE );
          $self->pipe->screen->fence_reference( $self->pipe->screen, &fence, NULL );
       }
    }