From: José Fonseca Date: Fri, 15 Aug 2008 09:33:35 +0000 (+0100) Subject: python/retrace: Update frame when PIPE_FLUSH_FRAME spotted. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=52ecb8f56368180b5dec303d1d77a8d0596aaef7;p=mesa.git python/retrace: Update frame when PIPE_FLUSH_FRAME spotted. --- 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):