cvs commit: fptools/libraries/OpenGL/Graphics/Rendering/OpenGL/GL
BeginEnd.hs CoordTrans.hs
Sven Panne
panne@glass.cse.ogi.edu
Mon, 26 May 2003 09:08:24 -0700
panne 2003/05/26 09:08:24 PDT
Modified files:
libraries/OpenGL/Graphics/Rendering/OpenGL/GL BeginEnd.hs
CoordTrans.hs
Log:
Make renderPrimitive and matrixExcursion fool-proof (i.e. exception-safe).
In the unlikely case that performance should turn out to be a problem,
unsafeFOO variants can easily be re-added.
NOTE: Control.Exception.finally is used now, which is marked as
non-portable, but GHC, Hugs, and nhc98 all support Control.Exception,
so this should probably be marked as portable nowadays...
Revision Changes Path
1.10 +3 -6 fptools/libraries/OpenGL/Graphics/Rendering/OpenGL/GL/BeginEnd.hs
1.14 +5 -9 fptools/libraries/OpenGL/Graphics/Rendering/OpenGL/GL/CoordTrans.hs