cginternals / globjects

C++ library strictly wrapping OpenGL objects.
https://globjects.org
MIT License
538 stars 59 forks source link

Add error handler callback for glow #227

Closed rlux closed 10 years ago

rlux commented 10 years ago

This allows user code to decide if exceptions are thrown on errors or not. We could remove the cmake compiler option to use exceptions and always build glow without exceptions. This should work together with the debug messages, so the question is if we let the user dispatch the message type, or provide different callbacks.