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-11-07 16:37:10 -0800
committerKartik K. Agaram <vc@akkartik.com>2021-11-07 16:37:10 -0800
commit3ca102f0152f23718b72b35207e9272daf7514c3 (patch)
tree6ce6e0cabb4eecd46dd2a47e69c2ec49054139e9 /501draw-text.mu
parentad2dd26ed49a5eb721773b376c3f28d1c8dcfcc9 (diff)
downloadmu-3ca102f0152f23718b72b35207e9272daf7514c3.tar.gz
tutorial: improve task 14 based on sejo's feedback
Diffstat (limited to '501draw-text.mu')
-rw-r--r--501draw-text.mu7
1 files changed, 0 insertions, 7 deletions
diff --git a/501draw-text.mu b/501draw-text.mu
index 61023642..5d2917a9 100644
--- a/501draw-text.mu
+++ b/501draw-text.mu
@@ -81,13 +81,6 @@ fn move-cursor-to-left-margin-of-next-line screen: (addr screen) {
   set-cursor-position screen, cursor-x, cursor-y
 }
 
-fn draw-code-point-at-cursor screen: (addr screen), c: code-point, color: int, background-color: int {
-  var cursor-x/eax: int <- copy 0
-  var cursor-y/ecx: int <- copy 0
-  cursor-x, cursor-y <- cursor-position screen
-  var dummy/eax: int <- draw-code-point screen, c, cursor-x, cursor-y, color, background-color
-}
-
 fn draw-code-point-at-cursor-over-full-screen screen: (addr screen), c: code-point, color: int, background-color: int {
   var cursor-x/eax: int <- copy 0
   var cursor-y/ecx: int <- copy 0