package main
import gpu "../.."
import app "../../app"
main :: proc() {
state, ok := app.init_window(800, 600, "GPU - Hello Window")
if !ok {
return
}
defer app.shutdown(&state)
for !app.window_should_close(&state) {
frame := app.begin_frame(&state, gpu.CORNFLOWER_BLUE)
_ = app.submit_frame(&state, &frame)
if app.is_key_pressed(&state, .Escape) {
break
}
}
}