diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-06-15 15:37:37 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-06-15 15:37:37 -0700 |
commit | 628074941047e08e113e46c6595051ad21a84375 (patch) | |
tree | a17e2f9918b109908c4e4f0f9ba7bb27ee3022c4 | |
parent | 3c70328b2510e92586dc755ac516998088fcc237 (diff) | |
download | mu-628074941047e08e113e46c6595051ad21a84375.tar.gz |
always print black pixels when rendering screens
This is an old 'optimization' that turns out to not actually matter.
-rw-r--r-- | shell/sandbox.mu | 2 |
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 |