mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
python/retrace: Update frame when PIPE_FLUSH_FRAME spotted.
This commit is contained in:
parent
f40de50def
commit
52ecb8f563
1 changed files with 2 additions and 1 deletions
|
|
@ -364,10 +364,11 @@ class Context(Object):
|
|||
|
||||
def draw_arrays(self, mode, start, count):
|
||||
self.real.draw_arrays(mode, start, count)
|
||||
self._update()
|
||||
|
||||
def flush(self, flags):
|
||||
self.real.flush(flags)
|
||||
if flags & gallium.PIPE_FLUSH_FRAME:
|
||||
self._update()
|
||||
return None
|
||||
|
||||
def clear(self, surface, value):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue