patch
This commit is contained in:
parent
f4ad4b6856
commit
941eed0ac9
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue