diff options
author | colin <colin@cicadas.surf> | 2024-12-10 07:11:02 -0800 |
---|---|---|
committer | colin <colin@cicadas.surf> | 2024-12-14 08:35:58 -0800 |
commit | 8a51ba81c7df6b0b6dab7cf4b35b5ca084b653ba (patch) | |
tree | 23f5f0a5449a06473aba2ec7914a3c2193823a10 /src/assets/png.lisp | |
parent | 2cbb8e4114c860e1774efd40d18661aee8ab2a72 (diff) |
Replaced defclass-std with defrefactor-with-def
Diffstat (limited to 'src/assets/png.lisp')
-rw-r--r-- | src/assets/png.lisp | 3 |
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))))) |