Kendall Bennett wrote:
>
> I noticed that the latest gl.h header file is much more like the
> regular OpenGL headers, as all the enum's are now gone. Perhaps now
> would be a good time for us to try and merge the MGL and Mesa header
> files into one so that they can be compatible. We are using our own
> headers in the MGL primarily because we included a bunch of stuff
> that was not originally in the Mesa headers (such as SGI OpenGL for
> Windows and MS OpenGL extensions etc).
>
> If you think this is a good idea, I will go ahead and see what stuff
> we have in our headers that are not in the Mesa headers and add them.
I'd like to see the proposed merged header before you commit it
just to be sure we're going in the right direction.
> This will also include updates to the way the GLAPIENTRY stuff is
> handled so that you can compile OpenGL code on Windows *without*
> needing to include <windows.h> at all, but it will still work even if
> you include <windows.h> before or after <GL/gl.h>.
That sounds good.
The other thing I'd like to see done in the new gl.h header is
to move as many of the Window-isms (such as the #pragmas) into
the new src/glheader.h file which is a wrapper around gl.h and
#included by all the source files.
The Linux OpenGL standards base group is trying to move toward
a single, unified gl.h file.
-Brian
_______________________________________________
Mesa-dev maillist - [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev