summaryrefslogtreecommitdiff
path: root/sdl2
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2023-01-04 21:47:06 -0500
committerDavid Thompson <dthompson2@worcester.edu>2023-01-04 21:47:06 -0500
commitf7e5de964d82c036f029a458de14864eaca9e290 (patch)
treececad3aad36cf8bbe0afb2cbf465ff69068085f5 /sdl2
parent240dd224cccfbd224f1e770f1589d6124cf6bb1f (diff)
render: Change fill-rect to render-fill-rect.
This is to avoid a name collision with fill-rect in the (sdl2 surface) module. Rename fill-rects to render-fill-rects, too, for consistency.
Diffstat (limited to 'sdl2')
-rw-r--r--sdl2/render.scm8
1 files changed, 4 insertions, 4 deletions
diff --git a/sdl2/render.scm b/sdl2/render.scm
index d5d345a..dc39bf6 100644
--- a/sdl2/render.scm
+++ b/sdl2/render.scm
@@ -57,8 +57,8 @@
draw-points
draw-rect
draw-rects
- fill-rect
- fill-rects
+ render-fill-rect
+ render-fill-rects
texture-color-mod
texture-alpha-mod
@@ -284,7 +284,7 @@ disable it."
(bytevector->pointer bv)
(length rects)))))
-(define (fill-rect renderer rect)
+(define (render-fill-rect renderer rect)
"Fill RECT on RENDERER."
(ffi:sdl-render-fill-rect
(unwrap-renderer renderer)
@@ -292,7 +292,7 @@ disable it."
((@@ (sdl2 rect) unwrap-rect) rect)
%null-pointer)))
-(define (fill-rects renderer rects)
+(define (render-fill-rects renderer rects)
"Fill RECTS on RENDERER."
(if (bytevector? rects)
(ffi:sdl-render-fill-rects (unwrap-renderer renderer)