summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2011-03-11 14:00:32 -0800
committerVinson Lee <vlee@vmware.com>2011-03-11 14:00:32 -0800
commit4faa95e74d3784b15551a8de171d081e7dd1e6c0 (patch)
treecb385ad7fd7b561abc998723de0bc414649484e8 /src
parent9c366ceedbb9d550c830ba9a8b80b7675e42917b (diff)
st/python: Remove flags from flush function.
Diffstat (limited to 'src')
-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 360a4220ea..17d25ad0aa 100644
--- a/src/gallium/state_trackers/python/p_context.i
+++ b/src/gallium/state_trackers/python/p_context.i
@@ -400,7 +400,7 @@ error1:
void
flush(unsigned flags = 0) {
struct pipe_fence_handle *fence = NULL;
- $self->pipe->flush($self->pipe, flags | PIPE_FLUSH_RENDER_CACHE, &fence);
+ $self->pipe->flush($self->pipe, &fence);
if(fence) {
/* TODO: allow asynchronous operation */
$self->pipe->screen->fence_finish( $self->pipe->screen, fence, PIPE_TIMEOUT_INFINITE );