Remove default width and height in graphics-context
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user