aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/interactive/image.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'src/interactive/image.lisp')
-rw-r--r--src/interactive/image.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interactive/image.lisp b/src/interactive/image.lisp
index 7c84df3..0089f57 100644
--- a/src/interactive/image.lisp
+++ b/src/interactive/image.lisp
@@ -21,7 +21,7 @@ count and destroys shader-program if necessary."
(gl:delete-program *image-shader-program*)
(setf *image-shader-program* nil))))
-(defclass/std image (affine interactive)
+(defclass/std image (unit interactive)
((texture :ri :std (error "A image requires a texture."))))
(defmethod initialize-instance :after ((image image) &key)