about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-07-29 08:05:24 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-07-29 08:05:24 -0700
commit54765018beb8a9c0dde67de527dbfedefdecaed0 (patch)
tree247882a261c9e1df75871475df29cbc41b3e4553
parent63c7d5c4e0437aad068d31f4b480c377d5998948 (diff)
downloadmu-54765018beb8a9c0dde67de527dbfedefdecaed0.tar.gz
.
-rw-r--r--511image.mu2
1 files changed, 2 insertions, 0 deletions
diff --git a/511image.mu b/511image.mu
index d9e2c7e2..6696be59 100644
--- a/511image.mu
+++ b/511image.mu
@@ -50,6 +50,8 @@ fn initialize-image _self: (addr image), in: (addr stream byte) {
 }
 
 # dispatch to a few variants with mostly identical boilerplate
+# TODO: if we have more resolution we could actually use it to improve
+# dithering
 fn render-image screen: (addr screen), _img: (addr image), xmin: int, ymin: int, width: int, height: int {
   var img/esi: (addr image) <- copy _img
   var type-a/eax: (addr int) <- get img, type