Skip to content

Commit

Permalink
With this change, for some reason, it won't break when resized.
Browse files Browse the repository at this point in the history
  • Loading branch information
cxxxr committed Aug 3, 2023
1 parent 33c0528 commit c292389
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontends/sdl2/main.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@
(defun notify-required-redisplay ()
(with-renderer ()
(when (display-redraw-at-least-once-p *display*)
(setf (display-redraw-at-least-once-p *display*) nil)
(sdl2:set-render-target (current-renderer) (display-texture *display*))
(set-render-color *display* (display-background-color *display*))
(sdl2:render-clear (current-renderer))
Expand Down

0 comments on commit c292389

Please sign in to comment.