about summary refs log tree commit diff stats
path: root/501draw-text.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-07-26 02:27:32 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-07-26 02:27:32 -0700
commit46441d7204cb14e14bc25ff3c43a912281035a1c (patch)
tree615ee983f8c6ed7b62dc6d7c8e66bd6fe38d21dc /501draw-text.mu
parent81c3678515e9fe848daeec129918a7baf929bf96 (diff)
downloadmu-46441d7204cb14e14bc25ff3c43a912281035a1c.tar.gz
.
Smoked out some issues by rendering a single frame of Game of Life.
Incredibly slow.
Diffstat (limited to '501draw-text.mu')
-rw-r--r--501draw-text.mu2
1 files changed, 1 insertions, 1 deletions
diff --git a/501draw-text.mu b/501draw-text.mu
index ad7beecc..1fec060c 100644
--- a/501draw-text.mu
+++ b/501draw-text.mu
@@ -98,7 +98,7 @@ fn draw-code-point-at-cursor screen: (addr screen), c: code-point, color: int, b
 # return the next 'x' coordinate
 # if there isn't enough space, truncate
 fn draw-text-rightward screen: (addr screen), text: (addr array byte), x: int, xmax: int, y: int, color: int, background-color: int -> _/eax: int {
-  var stream-storage: (stream byte 0x200/print-buffer-size)
+  var stream-storage: (stream byte 0x400/print-buffer-size)
   var stream/esi: (addr stream byte) <- address stream-storage
   write stream, text
   var xcurr/eax: int <- draw-stream-rightward screen, stream, x, xmax, y, color, background-color