about summary refs log tree commit diff stats
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
parente0d86d6537155c2921e5b8868dcb8b16f7de67c6 (diff)
downloadmu-d03dd5dff78dcbc6d3d3dfe7534a944f60be2743.tar.gz
.
-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
210b7bd900af058d8b8c4369e'>^
80b6f47e ^
2a2a5b1e ^








075e89d9 ^



2a2a5b1e ^









54097434 ^
7a583220 ^
33352536 ^

ee9a9237 ^
33352536 ^



6030d7e2 ^
33352536 ^







ee9a9237 ^
33352536 ^
6030d7e2 ^
33352536 ^

e59a74ab ^
cf02c20b ^
ee9a9237 ^
33352536 ^



7a583220 ^
33352536 ^

6030d7e2 ^
4224ec81 ^
e59a74ab ^


33352536 ^

e59a74ab ^


ee9a9237 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80