Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
sdl2: fix typo in debug statement
  • Loading branch information
seanfarley committed Jul 7, 2023
commit 12724c55eabb182d5c7a62838dc0f1e3af6a12b2
4 changes: 2 additions & 2 deletions frontends/sdl2/main.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@
(sdl2:free-surface image)))

(defun adapt-high-dpi-display-scale ()
(with-debug ("adpat-high-dpi-display-scale")
(with-debug ("adapt-high-dpi-display-scale")
(with-renderer ()
(multiple-value-bind (renderer-width renderer-height)
(sdl2:get-renderer-output-size (current-renderer))
Expand All @@ -760,7 +760,7 @@
(setf (display-scale *display*) (list scale-x scale-y)))))))

(defun adapt-high-dpi-font-size ()
(with-debug ("adpat-high-dpi-font-size")
(with-debug ("adapt-high-dpi-font-size")
(with-renderer ()
(let ((font-config (display-font-config *display*))
(ratio (round (first (display-scale *display*)))))
Expand Down