diff options
author | Vinson Lee <vlee@vmware.com> | 2011-03-08 16:18:16 -0800 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2011-03-08 16:18:16 -0800 |
commit | 67f61199c24276e6032774d56d2843c62fe28a2f (patch) | |
tree | 68c84d33cb4f6d0aa19ab6dd2b7c30f2f3830ea2 | |
parent | ac8821ffe2fc3972bc4744201491a4a41df877e6 (diff) | |
download | external_mesa3d-67f61199c24276e6032774d56d2843c62fe28a2f.zip external_mesa3d-67f61199c24276e6032774d56d2843c62fe28a2f.tar.gz external_mesa3d-67f61199c24276e6032774d56d2843c62fe28a2f.tar.bz2 |
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.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 b30050b..4ccc4c0 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 ); } } |