summaryrefslogtreecommitdiff
path: root/sdl2/render.scm
diff options
context:
space:
mode:
authorLeo Prikler <leo.prikler@student.tugraz.at>2020-12-05 20:40:37 +0100
committerDavid Thompson <dthompson2@worcester.edu>2020-12-05 15:34:44 -0500
commitbc1b954d5397588cdb899c7f8f33efdd24eb61fb (patch)
tree193d1016789a9ec0691b48c0039ff644cc1a6f23 /sdl2/render.scm
parent0dc1697594ee55074c2ead195cde07e03ec01e92 (diff)
render: Make set-renderer-scale! actually set scale.
Diffstat (limited to 'sdl2/render.scm')
-rw-r--r--sdl2/render.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/sdl2/render.scm b/sdl2/render.scm
index 05518cb..eb4661c 100644
--- a/sdl2/render.scm
+++ b/sdl2/render.scm
@@ -159,8 +159,8 @@ color."
(define (set-renderer-scale! renderer scale-x scale-y)
"Set the drawing scale of RENDERER according to SCALE-X and SCALE-Y
scaling factors."
- (unless (zero? (ffi:sdl-render-set-logical-size (unwrap-renderer renderer)
- scale-x scale-y))
+ (unless (zero? (ffi:sdl-render-set-scale (unwrap-renderer renderer)
+ scale-x scale-y))
(sdl-error "set-renderer-scale!" "Failed to set scale")))
(define (renderer-integer-scale renderer)