forked from AbleOS/ableos
patch
This commit is contained in:
parent
f4ad4b6856
commit
941eed0ac9
|
@ -12,7 +12,7 @@ main := fn(): int {
|
||||||
screen := render.init(true)
|
screen := render.init(true)
|
||||||
|
|
||||||
// Clear the screen to black.
|
// Clear the screen to black.
|
||||||
// render.clear(screen, render.black)
|
render.clear(screen, render.black)
|
||||||
|
|
||||||
x := 0
|
x := 0
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ main := fn(): int {
|
||||||
|
|
||||||
loop {
|
loop {
|
||||||
// Clear the screen
|
// 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)
|
render.put_rect(screen, .(0, 0), .(screen.width - 1, 26), render.white)
|
||||||
// Sync the screen
|
// Sync the screen
|
||||||
|
|
Loading…
Reference in a new issue