default window background

This commit is contained in:
harper
2026-10-10 12:07:20 -07:00
parent 8edae62e10
commit 294ffb70cc
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -39,9 +39,9 @@ run :: proc(app: ^App) {
rl.SetTargetFPS(60)
for !rl.WindowShouldClose() {
rl.ClearBackground(window.background)
for i in app.systems[UPDATE] {i()}
rl.BeginDrawing()
rl.ClearBackground(window.background)
for i in app.systems[DRAW] {i()}
rl.EndDrawing()
}