From: Braden M. <br...@en...> - 2003-02-03 15:14:38
|
On Mon, 2003-02-03 at 10:00, Brian Paul wrote: > Marcelo E. Magallon wrote: > >>>Braden McDaniel <br...@en...> writes: > > > > > > > > > Is it reasonable to expect the "glext.h" header to be part of a > > > reasonably modern (and functional) OpenGL/Mesa installation? > > > > Pet peeve alert. > > > > Mesa, yes. OpenGL, no. > > > > GL/glext.h is an implementation detail and programmers should not rely > > on its presence. In fact, if you see something like: > > > > #include <GL/glext.h> > > > > in one of your programs, you have a bug. > > > > Off the top of my head, the best reference that backs up my assertion > > is the extension writing guidelines. > > The GL/glext.h file is included by GL/gl.h and you should not directly include > it in your application program. I don't know how prevalent glext.h is outside > of the Linux world. Thanks, guys. That helps a lot. -- Braden McDaniel e-mail: <br...@en...> <http://endoframe.com> Jabber: <br...@ja...> |