(defun gl-drawing-area-realize (widget)
#+nil(format t "realize~%")
(bwhen (init-fn (gl-drawing-area-on-init widget))
- (funcall init-fn widget))
+ (with-gl-context (widget)
+ (funcall init-fn widget)))
(multiple-value-bind (width height)
(gdk:drawable-get-size (widget-window widget))
(resize widget width height))