Fix gtkglext:with-gl-context macro by wrapping body in progn inside unwind-protect
authorDmitry Kalyanov <Kalyanov.Dmitry@gmail.com>
Sat, 31 Oct 2009 19:59:01 +0000 (22:59 +0300)
committerDmitry Kalyanov <Kalyanov.Dmitry@gmail.com>
Sat, 31 Oct 2009 23:11:01 +0000 (02:11 +0300)
gtk-glext/gtkglext.lisp

index 682d5d4..f6b8434 100644 (file)
              (,drawable (gtk-widget-gl-window ,w)))
          (if (and ,context ,drawable (gdk-gl-drawable-gl-begin ,drawable ,context))
              (unwind-protect
-                  ,@body
+                  (progn
+                    ,@body)
                (progn
                  (when ,swap-p
                    (when (gdk-gl-drawable-is-double-buffered ,drawable)