diff options
author | Colin Okay <colin@cicadas.surf> | 2022-07-09 17:34:40 -0500 |
---|---|---|
committer | Colin Okay <colin@cicadas.surf> | 2022-07-09 17:34:40 -0500 |
commit | 81963adda8dd9120d9e602264a7906ae0c374ebb (patch) | |
tree | a3d30dfaae2cf9ef7bc5d35b2951dd7a7f0f7d0e | |
parent | 7acea135015024506687fb63bfe4681dfe91ee5b (diff) |
[bugfix] still need bitmap cleanup method.
-rw-r--r-- | src/interactive/bitmap.lisp | 3 |
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) |