about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--500fake-screen.mu1
1 files changed, 1 insertions, 0 deletions
diff --git a/500fake-screen.mu b/500fake-screen.mu
index 1731a63c..7b2c3177 100644
--- a/500fake-screen.mu
+++ b/500fake-screen.mu
@@ -296,6 +296,7 @@ fn fake-screen-empty? _screen: (addr screen) -> _/eax: boolean {
   }
   var pixels-ah/eax: (addr handle stream pixel) <- get screen, pixels
   var pixels/eax: (addr stream pixel) <- lookup *pixels-ah
+  rewind-stream pixels
   var result/eax: boolean <- stream-empty? pixels
   return result
 }