summaryrefslogtreecommitdiff
path: root/sdl2
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2020-12-05 15:31:53 -0500
committerDavid Thompson <dthompson2@worcester.edu>2020-12-05 15:31:53 -0500
commit3821e81fd0b61e719b7d9582f2ffcc38078256af (patch)
treeda11777847ad8ee6c898dbf853f61424490d0b74 /sdl2
parent20936b200808e8c9b777497fd7f450c7ca899e1b (diff)
render: Rename get-texture-alpha-mod to texture-alpha-mode.
Diffstat (limited to 'sdl2')
-rw-r--r--sdl2/render.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdl2/render.scm b/sdl2/render.scm
index f7665b6..40ad7da 100644
--- a/sdl2/render.scm
+++ b/sdl2/render.scm
@@ -344,7 +344,7 @@ created with 'texture')"
(unless (zero? (ffi:sdl-set-texture-alpha-mod (unwrap-texture texture) a))
(sdl-error "set-texture-alpha-mod!" "Failed to set texture alpha mod")))
-(define (get-texture-alpha-mod texture)
+(define (texture-alpha-mod texture)
"Get alpha mod of TEXTURE as a single integer."
(let ((bv (make-bytevector 1)))
(let ((result (ffi:sdl-get-texture-alpha-mod