[osg-users] GL profiles issues on Windows

Robert Osfield robert.osfield at gmail.com
Wed Sep 5 00:26:33 PDT 2018

Hi Riccardo,

The OSG_GL*_AVAILABLE flags are the lower level switches, if you want
a core profile with none of the fixed funcion pipeline then the
OSG_GL1 + GL2_AVAILABLE will need to be OFF.  There are other controls
as well.

The best way to get everything set correct is to run CMake with
OSG_GL_PROFILE set to GLCORE, this high level mechanisn will set all
the low level stuff you need.

On Tue, 4 Sep 2018 at 21:44, Riccardo Corsi <riccardo.corsi at kairos3d.it> wrote:
> Hi all,
> I have some osg-based libraries that are addressing only GL3+ Core profile functionalities, as I need them to work on Mac.
> Now on Windows, I expected them to work just by compiling osg with the OSG_GL3_AVAILABLE flag.
> What happens instead is:
> - if I build osg with GL core profile (no GL 1 and 2, no FFP enabled, ecc...) everything works
> - if I build osg just adding the OSG_GL3_AVAILABLE flag and launch the application by specifying a GL 3.2 Compatibility profile, I get no errors but nothing shows up
> Are my expectations correct? Should I check some more compilation / runtime settings to have it working?
> My setup is:
> osg 3.6.2
> win 10
> nvidia GTX card
> Thank you,
> Riccardo
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

More information about the osg-users mailing list