summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2011-03-08 16:18:16 -0800
committerVinson Lee <[email protected]>2011-03-08 16:18:16 -0800
commit67f61199c24276e6032774d56d2843c62fe28a2f (patch)
tree68c84d33cb4f6d0aa19ab6dd2b7c30f2f3830ea2
parentac8821ffe2fc3972bc4744201491a4a41df877e6 (diff)
st/python: Add timeout parameter to fence_finish.
This is a follow-up to commit b39bccbd4ed71e9585da4cf5acf7b887b2e90899. Fixes Linux SCons build.
-rw-r--r--src/gallium/state_trackers/python/p_context.i2
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 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 );
}
}