aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/interactive
diff options
context:
space:
mode:
Diffstat (limited to 'src/interactive')
-rw-r--r--src/interactive/bitmap.lisp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/interactive/bitmap.lisp b/src/interactive/bitmap.lisp
index 3d38503..06f081e 100644
--- a/src/interactive/bitmap.lisp
+++ b/src/interactive/bitmap.lisp
@@ -69,6 +69,9 @@ count and destroys shader-program if necessary."
(gl:bind-buffer :array-buffer 0)
(gl:bind-vertex-array 0))))
+(defmethod cleanup ((bitmap bitmap))
+ (bitmap-finalizer))
+
(defmethod render ((bitmap bitmap))
(with-slots (texture) bitmap
(gl:active-texture 0)