projects
/
cl-gtk2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f2df31
)
Fix gtkglext:with-gl-context macro by wrapping body in progn inside unwind-protect
author
Dmitry Kalyanov
<Kalyanov.Dmitry@gmail.com>
Sat, 31 Oct 2009 19:59:01 +0000
(22:59 +0300)
committer
Dmitry Kalyanov
<Kalyanov.Dmitry@gmail.com>
Sat, 31 Oct 2009 23:11:01 +0000
(
02:11
+0300)
gtk-glext/gtkglext.lisp
patch
|
blob
|
history
diff --git
a/gtk-glext/gtkglext.lisp
b/gtk-glext/gtkglext.lisp
index
682d5d4
..
f6b8434
100644
(file)
--- a/
gtk-glext/gtkglext.lisp
+++ b/
gtk-glext/gtkglext.lisp
@@
-453,7
+453,8
@@
(,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)