st/python: Remove flags from flush function.

This commit is contained in:
Vinson Lee 2011-03-11 14:00:32 -08:00
parent 9c366ceedb
commit 4faa95e74d
1 changed files with 1 additions and 1 deletions

View File

@ -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 );