Skip to content

Commit

Permalink
Get rid of warning in tutorial 16 by setting default flip to :none
Browse files Browse the repository at this point in the history
WARNING: Unknown mask symbol NIL, treated as 0; expected one of:
  (:HORIZONTAL :NONE :VERTICAL)
  • Loading branch information
Yan committed Jan 8, 2022
1 parent 33bba60 commit ea0d2fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 16-true-type-fonts.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
(defun set-color (tex r g b)
(sdl2:set-texture-color-mod (tex-texture tex) r g b))

(defun render (tex x y &key clip angle center flip)
(defun render (tex x y &key clip angle center (flip :none))
(with-slots (renderer texture width height) tex
(sdl2:render-copy-ex renderer
texture
Expand Down

0 comments on commit ea0d2fe

Please sign in to comment.