diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-07-29 08:05:24 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-07-29 08:05:24 -0700 |
commit | 54765018beb8a9c0dde67de527dbfedefdecaed0 (patch) | |
tree | 247882a261c9e1df75871475df29cbc41b3e4553 | |
parent | 63c7d5c4e0437aad068d31f4b480c377d5998948 (diff) | |
download | mu-54765018beb8a9c0dde67de527dbfedefdecaed0.tar.gz |
.
-rw-r--r-- | 511image.mu | 2 |
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 |