From: Vinson Lee Date: Wed, 9 Mar 2011 00:18:16 +0000 (-0800) Subject: st/python: Add timeout parameter to fence_finish. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=67f61199c24276e6032774d56d2843c62fe28a2f;p=mesa.git st/python: Add timeout parameter to fence_finish. This is a follow-up to commit b39bccbd4ed71e9585da4cf5acf7b887b2e90899. Fixes Linux SCons build. --- diff --git a/src/gallium/state_trackers/python/p_context.i b/src/gallium/state_trackers/python/p_context.i index b30050bf6d4..4ccc4c0b3ab 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 ); + $self->pipe->screen->fence_finish( $self->pipe->screen, fence, 0, PIPE_TIMEOUT_INFINITE ); $self->pipe->screen->fence_reference( $self->pipe->screen, &fence, NULL ); } }