diff options
author | Pierre-Antoine Rouby <contact@parouby.fr> | 2019-05-26 13:45:00 +0200 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2019-05-27 20:41:01 -0400 |
commit | 277d1638bea8ed7b171cd65568962cd476686c9f (patch) | |
tree | 7a79c244e6137b873cfed53526c9189aeebc62bc /doc | |
parent | 9ffb8b1f126dfbf3a7e4a2d68d2e77afeca26a83 (diff) |
render: Add SDL_DestroyTexture binding.
* sdl2/bindings.scm (sdl-destroy-texture): New procedure.
* sdl2/render.scm (delete-texture!): New procedure.
* doc/api.texi (Renderer): Document it.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api.texi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/api.texi b/doc/api.texi index 00fe3a8..0a154ae 100644 --- a/doc/api.texi +++ b/doc/api.texi @@ -1070,6 +1070,10 @@ of @var{renderer}. Convert @var{surface} to a texture suitable for @var{renderer}. @end deffn +@deffn {Procedure} delete-texture! texture +Free the memory used by @var{texture}. +@end deffn + @node Images @section Images |