diff options
-rw-r--r-- | doc/api.texi | 2 | ||||
-rw-r--r-- | sdl2/render.scm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/api.texi b/doc/api.texi index f1fa9cf..2e6cb9f 100644 --- a/doc/api.texi +++ b/doc/api.texi @@ -1200,7 +1200,7 @@ comming draw requests redirect to @var{texture}. Pass @code{#f} to reset it to the default target. @end deffn -@deffn {Procedure} get-render-target renderer +@deffn {Procedure} render-target renderer Returns the current render target of @var{renderer} or @code{#f} if it's a texture. @end deffn 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) |