OSDN Git Service

bugfix: clean the screen when the program closes
[rulp/rulp.git] / render / render.lisp
index f708040..bff8e90 100644 (file)
@@ -118,3 +118,6 @@ window or destination screen buffer."
 
 (defun texture-height (texture)
   (sdl2:texture-height texture))
+
+(defun destroy-texture (texture)
+  (sdl2:destroy-texture texture))