Hi Torben, I've just reviewed your changes. The changes to the GL header seem like they duplicate much of what is part of the existing code for handling Windows platform for GL1/GL2. I'm thinking that it might be possible to just move the include of gl3.h vs gl.h to the section that currently handles GL1/GL3.
W.r.t the NOMINMAX change, will this affect GL1/GL2 builds? If not then just removing the #IF(UNIX)/#ENDIF() would be appropriate. Robert. On Wed, Dec 15, 2010 at 11:37 AM, Torben Dannhauer <[email protected]> wrote: > Hi, > > to allow a GL3 build on windows, I modified 2 files: > 1. The root CMakeLists.txt to set an additional define (NOMINMAX) > 2. The include file osg/GL to set the same define constants prior to GL3 > inclusion than prior to the GL2 inclusion. > > Todo: There is no dedicated GL3 example program in the osg examples. > > Cheers, > Torben > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=34884#34884 > > > > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
