[osg-users] GL3 Profile

Maxim Stere osgforum at tevs.eu
Mon Jun 25 09:52:41 PDT 2018


Hi Robert,

It does not work like that on windows. Windows by default does not come with gl3.h or GLcorearb.h and neither does Visual Studio, so you need to install extra dependencies to make the OSG GL3 or GLCORE profiles to work. Otherwise you get errors when you select them as an option and try to build.
This prevents people from using the GL3 profile and GL3 graphics context because OSG will create and report a lower context version. Also if they want to have no older functions and turn off the fixed function pipeline they now have to do it manually through multiple cmake options instead of just defining OPENGL_PROFILE to GL3.
So the fix I can make is change the CMake script to use the modern default windows GL headers which will enable people to use the GL3 profile option, and configure cmake to disable everything that needs to be turned off in that case. I can make a PR if that makes sense.

------------------------
Thank you,
--Maxim

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=74158#74158







More information about the osg-users mailing list