aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/assets/png.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'src/assets/png.lisp')
-rw-r--r--src/assets/png.lisp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/assets/png.lisp b/src/assets/png.lisp
index aa259f0..4408d02 100644
--- a/src/assets/png.lisp
+++ b/src/assets/png.lisp
@@ -2,7 +2,7 @@
(in-package #:wheelwork)
-(defclass/std png (asset texture) ())
+(def:class png (asset texture))
(defmethod ensure-loaded ((png png))
(with-slots
@@ -27,5 +27,6 @@
:unsigned-byte
(pngload:data data))
(gl:bind-texture :texture-2d 0)
+ ;; what does this do?
(when (texture-mipmap png)
(gl:generate-mipmap :texture-2d)))))