This commit is contained in:
Able 2024-11-03 18:34:48 -06:00
parent f4ad4b6856
commit 941eed0ac9

View file

@ -12,7 +12,7 @@ main := fn(): int {
screen := render.init(true)
// Clear the screen to black.
// render.clear(screen, render.black)
render.clear(screen, render.black)
x := 0
@ -24,7 +24,7 @@ main := fn(): int {
loop {
// Clear the screen
// render.clear(screen, render.black)
render.clear(screen, render.black)
render.put_rect(screen, .(0, 0), .(screen.width - 1, 26), render.white)
// Sync the screen