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