st/python: Remove flags from flush function.
This commit is contained in:
parent
9c366ceedb
commit
4faa95e74d
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue