summaryrefslogtreecommitdiff
path: root/sdl2/render.scm
diff options
context:
space:
mode:
Diffstat (limited to 'sdl2/render.scm')
-rw-r--r--sdl2/render.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdl2/render.scm b/sdl2/render.scm
index fbf2c77..f7665b6 100644
--- a/sdl2/render.scm
+++ b/sdl2/render.scm
@@ -400,7 +400,7 @@ Pass #f to reset it to the default target."
(unless (zero? result)
(sdl-error "set-render-target!" "failed to set render target"))))
-(define (get-render-target renderer)
+(define (render-target renderer)
"Returns the current render target of RENDERER. #f if it's a texture."
(let ((ptr (ffi:sdl-get-render-target (unwrap-renderer renderer))))
(if (null-pointer? ptr)