[osg-users] Specifying the GL context version to request

Robert Osfield robert.osfield at gmail.com
Mon Aug 21 05:16:11 PDT 2017


Hi Sandro,

I'm torn on whether to fallback to using the DisplaySettings:instance()
when DisplaySettings isn't explicitly specified.  Defaulting to using
DisplaySettings::instance() has the advantage of forcing a particular
graphics context version and other parameters from one place.  Conversely
it could be a real issue for some applications that assume that the values
will just be straight defaults without picking anything else up implicitly
- we could inadvertently break their applications.  These changes in
behaviour could be quite difficult to trace as the application would just
compile and link as before, but now has different behaviour.

Given this I we'll need to be really careful about making the default.  I
don't yet have any clear direction on it.  Will need to think some more.

Robert.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20170821/0078f01c/attachment.htm>


More information about the osg-users mailing list