summaryrefslogtreecommitdiff
path: root/sdl2/render.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2020-12-05 15:28:00 -0500
committerDavid Thompson <dthompson2@worcester.edu>2020-12-05 15:28:00 -0500
commit20936b200808e8c9b777497fd7f450c7ca899e1b (patch)
tree94e7eb7fd3038309920341a7c85f12e32bf3a76f /sdl2/render.scm
parentc9a2c09fa5297463743faa8ecac59d5f0ddc35a9 (diff)
render: Rename get-render-target to render-target.
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)