diff options
author | David Thompson <dthompson2@worcester.edu> | 2020-12-05 15:09:45 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2020-12-05 15:09:45 -0500 |
commit | 4360d8dbae686edb7c8cd30207d08099028a2bcd (patch) | |
tree | 37ff1aa327d0a54305711eb36c0d3b2af998f8d7 | |
parent | 8a11b291ec148441efacc96a2f9f187e4098af20 (diff) |
render: Rename set-render-draw-blend-mode to set-renderer-draw-blend-mode!
-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 de24b07..d7e6b5d 100644 --- a/doc/api.texi +++ b/doc/api.texi @@ -1143,7 +1143,7 @@ color channels @var{r}, @var{g}, @var{b}, @var{a}. Each color channel value is in the range [0, 255]. @end deffn -@deffn {Procedure} set-render-draw-blend-mode renderer blend-mode +@deffn {Procedure} set-renderer-draw-blend-mode! renderer blend-mode Set blend mode of @var{renderer} to @var{blend-mode}. @xref{Blend Modes} for more information. @end deffn diff --git a/sdl2/render.scm b/sdl2/render.scm index 0f5119c..575c9ae 100644 --- a/sdl2/render.scm +++ b/sdl2/render.scm @@ -184,7 +184,7 @@ disable it." %null-pointer))) (sdl-error "set-renderer-viewport!" "Failed to set viewport"))) -(define (set-render-draw-blend-mode renderer blend-mode) +(define (set-renderer-draw-blend-mode! renderer blend-mode) "Set blend mode of RENDERER to BLEND-MODE." (ffi:sdl-set-render-draw-blend-mode (unwrap-renderer renderer) |