summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2020-12-05 15:32:21 -0500
committerDavid Thompson <dthompson2@worcester.edu>2020-12-05 15:32:21 -0500
commit8eefa1f46503ef57b7714183b926dd453f4efe64 (patch)
tree1f4b682c7006a345808c40632d218d6bb5fd0161
parent3821e81fd0b61e719b7d9582f2ffcc38078256af (diff)
render: Rename get-texture-color-mod to texture-color-mod.
-rw-r--r--doc/api.texi2
-rw-r--r--sdl2/render.scm2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/api.texi b/doc/api.texi
index 13a8800..c10cd8d 100644
--- a/doc/api.texi
+++ b/doc/api.texi
@@ -1225,7 +1225,7 @@ Convert @var{surface} to a texture suitable for @var{renderer}.
Free the memory used by @var{texture}.
@end deffn
-@deffn {Procedure} get-texture-color-mod texture
+@deffn {Procedure} texture-color-mod texture
Get color mod of @var{texture} as a list of the integers.
@end deffn
diff --git a/sdl2/render.scm b/sdl2/render.scm
index 40ad7da..132419c 100644
--- a/sdl2/render.scm
+++ b/sdl2/render.scm
@@ -355,7 +355,7 @@ created with 'texture')"
(bytevector-u8-ref bv 0))))
-(define (get-texture-color-mod texture)
+(define (texture-color-mod texture)
"Get color mod of TEXTURE as a list of the integers."
(let ((bv (make-bytevector 3)))
(let ((result (ffi:sdl-get-texture-color-mod