aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gl/texture.lisp
diff options
context:
space:
mode:
authorColin Okay <colin@cicadas.surf>2022-07-15 16:35:06 -0500
committerColin Okay <colin@cicadas.surf>2022-07-15 16:35:06 -0500
commitb70a404c640785010ecad52af29b4a96184b2c7e (patch)
tree939b271a963786e649eb0fc1c8aa7e640eb4c89f /src/gl/texture.lisp
parentf2f49f3beae4fb62292e9a80e7ddda64de098771 (diff)
[add] working canvas demo!
Diffstat (limited to 'src/gl/texture.lisp')
-rw-r--r--src/gl/texture.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gl/texture.lisp b/src/gl/texture.lisp
index ad753a1..0aa698f 100644
--- a/src/gl/texture.lisp
+++ b/src/gl/texture.lisp
@@ -3,7 +3,7 @@
(in-package #:wheelwork)
(defclass/std texture ()
- ((width height id mipmap :with :r)
+ ((width height id mipmap :with :r :i)
(internal-format image-format :ri :with :std :rgba)
(wrap-s wrap-t :ri :with :std :repeat)
(min-filter mag-filter :ri :with :std :nearest)))