From 67f61199c24276e6032774d56d2843c62fe28a2f Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Tue, 8 Mar 2011 16:18:16 -0800 Subject: st/python: Add timeout parameter to fence_finish. This is a follow-up to commit b39bccbd4ed71e9585da4cf5acf7b887b2e90899. Fixes Linux SCons build. --- src/gallium/state_trackers/python/p_context.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/python/p_context.i b/src/gallium/state_trackers/python/p_context.i index b30050bf6d..4ccc4c0b3a 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 ); } } -- cgit v1.2.3