working cameraSpec

This commit is contained in:
Greg Shuflin committed 2025-12-18 03:15:45 -08:00
1 parent 1b562dfb5b
commit fbab89c3ad
3 files changed
+44

No files matched your search

+2
View File
@@ -171,6 +171,8 @@ partial def run : IO Unit := do
let idx := cameraCount[0]!
let camera <- SDL.openCamera idx
let spec <- SDL.getCameraFormat camera
let initialState : EngineState := {
window := window, renderer := renderer
deltaTime := 0.0, lastTime := 0, running := true