gtk-glext: workaround for cl-glut not reinitializaing on image restart
authorDmitry Kalyanov <Kalyanov.Dmitry@gmail.com>
Sun, 13 Sep 2009 00:06:24 +0000 (04:06 +0400)
committerDmitry Kalyanov <Kalyanov.Dmitry@gmail.com>
Sun, 13 Sep 2009 00:06:24 +0000 (04:06 +0400)
gtk-glext/gtkglext.lisp

index 5cbb241..682d5d4 100644 (file)
@@ -11,6 +11,7 @@
   (glut:init))
 
 (at-init () (gl-init))
+(at-finalize () (setf cl-glut::*glut-initialized-p* nil))
 
 ;; Query