aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gl
diff options
context:
space:
mode:
Diffstat (limited to 'src/gl')
-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)))