Paul Miller wrote:

> > OpenGL app on the Mac uses it and all our developers love it.  Hundreds of
> > GLUT apps work flawlessly as they are moved between accelerated monitors
> > with different accelerator cards from different vendors.  If you wish to shake
>
> Since the behavior described is optional, and GLUT programs are by
> definition meant to be portable, how does this work? Are all of these
> GLUT apps relatively simple so they just happen to work in this
> environment?

The behavior is optional at the AGL layer, but when we ported GLUT we had
to make a decision so we enabled multi-head support by default.  If we actually
encountered a GLUT app that broke we might reconsider the default setting or
make a user control panel for setting defaults in the GLUT library.

It's not so much that the GLUT apps are simple, but that the behavior required
to break the system is somewhat unusual.  The real hole in the system (as Stephen
Baker pointer out) is when an app is dependent on particular maximum values
from glGet*, like MAX_CLIP_PLANES or MAX_LIGHTS.  Most (all??) GLUT
apps in the distribution just assume the OpenGL minimum values for these so
they don't have a problem.

Bob Beretta
Apple Computer

Reply via email to