New OpenGLEAN API proposal (function failure)

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.

Posted by Richard Rauch 2005-04-13

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks