summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2008-08-15 10:33:35 +0100
committerJosé Fonseca <[email protected]>2008-08-15 10:35:19 +0100
commit52ecb8f56368180b5dec303d1d77a8d0596aaef7 (patch)
tree46647ae8c7cce799eb98fae61a5a01bd06013522 /src/gallium/state_trackers
parentf40de50def1b7ee75dd320b151c025b7ddff45be (diff)
python/retrace: Update frame when PIPE_FLUSH_FRAME spotted.
Diffstat (limited to 'src/gallium/state_trackers')
-rwxr-xr-xsrc/gallium/state_trackers/python/retrace/interpreter.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/python/retrace/interpreter.py b/src/gallium/state_trackers/python/retrace/interpreter.py
index 00b6376623f..fa9a65365c8 100755
--- a/src/gallium/state_trackers/python/retrace/interpreter.py
+++ b/src/gallium/state_trackers/python/retrace/interpreter.py
@@ -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):