Remove default width and height in graphics-context

This commit is contained in:
Camden Dixie O'Brien 2025-05-29 01:14:30 +01:00
parent af5cb1ed93
commit 49767ecbe7

View File

@ -73,8 +73,8 @@
(defclass graphics-context ()
(window
renderer
(width :initarg :width :initform 800)
(height :initarg :height :initform 600)))
(width :initarg :width)
(height :initarg :height)))
(defmethod initialize-instance :after ((ctx graphics-context) &key)
(with-slots (window renderer width height) ctx