3b/cl-opengl — Issue #33: With-pushed-matrix doesn't use unwind-protect
Author: smithzvk
Created: 2011-11-18 00:35:46+00:00
State: open

With-pushed-matrix* does. What are the issues with making with-pushed-matrix behave sanely w.r.t. non-local exits? I assume that this is a deep issue since the fix is so simple and has already been implemented in With-pushed-matrix*?

As a test case:

(dotimes (i 33) (ignore-errors (with-pushed-matrix (error "Uh-oh"))))

might break conforming OpenGL programs. I'm not an OpenGL guru, am I missing something?