You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems to duplicate issue #36 which was left open because I think the user should not have to know internal details of GLEW to have OpenGL::Modern do the right thing. That part has not been completed. In general, we should support "raw" error handling a la C OpenGL API and with additional perl-ish error handing with better error messages where possible assuming no significant performance penalty.
I got thinking about this looking at your most recent commit, containing this:
It would be nicer for the user if that would do the following instead:
croak( "Error %d while initializing glut.", RETVAL );
However while pondering about this, i thought it might be good to decide on one facet of handling and try to do that one as much as possible.
What are your thoughts on this?
The text was updated successfully, but these errors were encountered: