mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-02-05 03:30:05 -05:00
Fix (same) logic error in RenderManager.render()
This commit is contained in:
parent
335e894c6c
commit
b6dfd2d980
@ -361,7 +361,7 @@ class RenderManager(ClsMod):
|
||||
while not last_evt.query():
|
||||
time.sleep(0.01)
|
||||
gpu_time = last_evt.time_since(two_evts_ago)
|
||||
return RenderedImage(h_buf, idx, gpu_time)
|
||||
return RenderedImage(last_buf, last_idx, gpu_time)
|
||||
for idx, tc in times:
|
||||
evt, h_buf = self.queue_frame(rdr, gnm, tc, w, h, last_idx is None)
|
||||
if last_idx:
|
||||
|
Loading…
Reference in New Issue
Block a user