[osg-users] GL profiles issues on Windows

Werner Modenbach Werner.Modenbach at texion.eu
Wed Sep 5 03:17:05 PDT 2018


Hi Robert,

I thin k Riccardo wants to use both libs (libA glcore, linB non glcore)
in the same app on Windows.
In my understanding this is not possible at all.

- Werner -

Am 05.09.2018 um 11:36 schrieb Robert Osfield:
> Hi Riccardo,
>
> On Wed, 5 Sep 2018 at 10:23, Riccardo Corsi <riccardo.corsi at kairos3d.it> wrote:
>> Now what I'd like to do (on Win only) is to use libA and libB together.
>> To do so I expected it was enough to add the OSG_GL3_AVAILABLE flag to build OSG and to request a Compatibility GL context.
>> What happens instead is that I don't see anything of what libA is supposed to render, even though I don't get any GL error on the console.
> I you are just building the OSG with defaults, so will provide a
> compatibility profile. then the OSG at runtime will check for all the
> GL3/GL4 features and allow you to use this, you don't need to
> explicitly enable them via OSG_GL3_AVAILABLE.
>
> For compatibility with OSX then you'll need to use the CMake option of
> OPENGL_PROFILE=GLCORE.
>
> If you create an application that works with GLCORE then this same
> application will build and run just fine on the OSG built with
> defaults.
>
> Robert.
> _______________________________________________
> 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