diff options
Diffstat (limited to 'img.mu')
-rw-r--r-- | img.mu | 1 |
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 |