[osg-users] GL3: non-GL3 version number: 1.0

Robert Osfield robert.osfield at gmail.com
Fri Oct 13 01:18:27 PDT 2017


Hi Maxim,

On 12 October 2017 at 19:38, Maxim Stere <osgforum at tevs.eu> wrote:

> I'm also having a problem with GL3 on windows.
>
> When I build OSG with GL3 available and run an osg example I get an error:
> GL3: Non-GL3 version number: 1.0
>
> It looks like it is coming from the Statistics Handler.
>
> Is there a way to make OSG detect GL3 on windows? It is obviously there
> since it is included with the support of latest NVIDA cards, and other
> programs have no problem running the latest shaders.
>
> I'm on Win7 with an NVidia Gtx 980 building OSG 3.4.1 with VS2015
>

You don't need to compile the OSG against GL3 for the OSG to use GL3
features.  At runtime it'll query for support and use them.

It's only if you want to build GL core profile and not have any of the
deprecated that you need to build the OSG specifically for GL3.  This is
just an issue for MacOS as Apple don't support any of the backwards
compatibility that other vendors do.

As for the Windows specific selection of the versioning, I am not Windows
developer so will leave it to Windows developers to answer.

Robert.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20171013/20edb77d/attachment.html>


More information about the osg-users mailing list