about summary refs log tree commit diff stats
path: root/baremetal/ex2.mu
diff options
context:
space:
mode:
Diffstat (limited to 'baremetal/ex2.mu')
-rw-r--r--baremetal/ex2.mu2
1 files changed, 1 insertions, 1 deletions
diff --git a/baremetal/ex2.mu b/baremetal/ex2.mu
index b386fe5b..d7a5e0c4 100644
--- a/baremetal/ex2.mu
+++ b/baremetal/ex2.mu
@@ -21,7 +21,7 @@ fn main {
       break-if->=
       var color/ecx: int <- copy x
       color <- and 0xff
-      pixel 0, x, y, color
+      pixel-on-real-screen x, y, color
       x <- increment
       loop
     }