From 20936b200808e8c9b777497fd7f450c7ca899e1b Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sat, 5 Dec 2020 15:28:00 -0500 Subject: render: Rename get-render-target to render-target. --- sdl2/render.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sdl2') 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) -- cgit v1.2.3