Initialise SDL properly in graphics-context

This commit is contained in:
2025-05-29 01:14:30 +01:00
parent 49767ecbe7
commit 4fc83b269a

View File

@@ -78,7 +78,7 @@
(defmethod initialize-instance :after ((ctx graphics-context) &key)
(with-slots (window renderer width height) ctx
(sdl2:init)
(sdl2:init :video)
(setf window
(sdl2:create-window :title "Simulation"
:w width :h height