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 () (defclass graphics-context ()
(window (window
renderer renderer
(width :initarg :width :initform 800) (width :initarg :width)
(height :initarg :height :initform 600))) (height :initarg :height)))
(defmethod initialize-instance :after ((ctx graphics-context) &key) (defmethod initialize-instance :after ((ctx graphics-context) &key)
(with-slots (window renderer width height) ctx (with-slots (window renderer width height) ctx