summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2011-03-11 14:00:32 -0800
committerVinson Lee <[email protected]>2011-03-11 14:00:32 -0800
commit4faa95e74d3784b15551a8de171d081e7dd1e6c0 (patch)
treecb385ad7fd7b561abc998723de0bc414649484e8 /src/gallium
parent9c366ceedbb9d550c830ba9a8b80b7675e42917b (diff)
st/python: Remove flags from flush function.
Diffstat (limited to 'src/gallium')
-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 360a4220ea9..17d25ad0aa6 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 );