OpenGLEAN is a library, written in C and readily usable by many other languages. It provides a GLUT-like API, the chief feature of which is creating and managing windows with an OpenGL rendering context---and doing so with an API that is not bound to a particular window system.
A mixed blessing of the GLUT API is that every function always succeeds (or dies trying). This lets programmers ignore error handling, but prevents programmers from gracefully handling failures.
This new OpenGLEAN proposal outlines a way to extend the API to enable graceful failure without forcing error-handling on those legitimate cases that do not want to handle errors.
Log in to post a comment.