about summary refs log tree commit diff stats
path: root/img.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-07-14 01:31:14 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-07-14 01:31:14 -0700
commitd03dd5dff78dcbc6d3d3dfe7534a944f60be2743 (patch)
tree08e4a493117a3d7ee7449cfc689bd9ffa3c38e73 /img.mu
parente0d86d6537155c2921e5b8868dcb8b16f7de67c6 (diff)
downloadmu-d03dd5dff78dcbc6d3d3dfe7534a944f60be2743.tar.gz
.
Diffstat (limited to 'img.mu')
-rw-r--r--img.mu1
1 files changed, 1 insertions, 0 deletions
diff --git a/img.mu b/img.mu
index 49c05581..0f20953c 100644
--- a/img.mu
+++ b/img.mu
@@ -1072,6 +1072,7 @@ fn _read-ppm-buffer _buf: (addr array byte), x: int, y: int, width: int, channel
   return result
 }
 
+# each byte in the image data is a color of the current palette
 fn render-raw-image screen: (addr screen), _img: (addr image), xmin: int, ymin: int, width: int, height: int {
   var img/esi: (addr image) <- copy _img
   # yratio = height/img->height