Brian Paul <[EMAIL PROTECTED]> wrote:

> > > Microsoft has the same problem with its gl.h file.  It depends
> > > upon windows.h but does not include it.  So unfortunately, yes, you
> > > do have to #ifdef/#include "windows.h"/#endif in portable GL
> > > programs.   But not when using GLUT since glut.h #includes
> > > "windows.h" for you.
> > 
> > Actually this is not the case.
> 
> Well yeah, if you're going to hack on the headers!  :)

How else ;-)

> I believe Ted Jump changed APIENTRY to GLAPIENTRY.  Ted, why was
> that done? 

Probably to avoid compatibilities with the Windows headers. We can 
still deal with GLAPIENTRY in our code, by using a #define GLAPIENTRY 
APIENTRY, so you could do that in your headers as well.

> I personally never use Mesa on Windows but I'd like to be sure it
> works there.  If you and Ted can agree on what should be done- go
> for it. 

I don't build Mesa itself natively for Win32, but only through our 
MGL libraries which use it in a different way. However we can 
probably help out to ensure that the Windows versions do continue to 
build properly.

Regards,

+---------------------------------------------------------------+
|   SciTech Software - Building Truly Plug'n'Play Software!     |
+---------------------------------------------------------------+
| Kendall Bennett          | Email: [EMAIL PROTECTED]    |
| Director of Engineering  | Phone: (530) 894 8400              |
| SciTech Software, Inc.   | Fax  : (530) 894 9069              |
| 505 Wall Street          | ftp  : ftp.scitechsoft.com         |
| Chico, CA 95928, USA     | www  : http://www.scitechsoft.com  |
+---------------------------------------------------------------+



_______________________________________________
Mesa-dev maillist  -  [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev

Reply via email to