about summary refs log tree commit diff stats
path: root/shell/sandbox.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-06-15 15:37:37 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-06-15 15:37:37 -0700
commit628074941047e08e113e46c6595051ad21a84375 (patch)
treea17e2f9918b109908c4e4f0f9ba7bb27ee3022c4 /shell/sandbox.mu
parent3c70328b2510e92586dc755ac516998088fcc237 (diff)
downloadmu-628074941047e08e113e46c6595051ad21a84375.tar.gz
always print black pixels when rendering screens
This is an old 'optimization' that turns out to not actually matter.
Diffstat (limited to 'shell/sandbox.mu')
-rw-r--r--shell/sandbox.mu2
1 files changed, 0 insertions, 2 deletions
diff --git a/shell/sandbox.mu b/shell/sandbox.mu
index a6b3453c..2fa49e30 100644
--- a/shell/sandbox.mu
+++ b/shell/sandbox.mu
@@ -293,8 +293,6 @@ fn render-screen screen: (addr screen), _target-screen: (addr screen), xmin: int
           var color-addr/ecx: (addr byte) <- index pixels, idx
           var color/ecx: byte <- copy-byte *color-addr
           var color2/ecx: int <- copy color
-          compare color2, 0
-          break-if-=
           var x2/eax: int <- copy x
           x2 <- add left
           var y2/ebx: int <- copy y