]> git.jsancho.org Git - gacela.git/blobdiff - gacela_draw.lisp
(no commit message)
[gacela.git] / gacela_draw.lisp
index 79c3edbaf22e3785d16379588ef10003bb63316d..4c96b580808241293ca9850554bdf83885877f7a 100644 (file)
@@ -92,6 +92,7 @@
                      (SDL_FreeSurface image)
                      (set-resource key
                                    `(:id-texture ,texture :width ,real-w :height ,real-h)
+                                   (lambda () (load-texture filename :min-filter min-filter :mag-filter mag-filter :static static))
                                    (lambda () (glDeleteTextures 1 `(,texture)))
                                    :static static)
                      key)))))))))