[osg-users] Possible bug in dev version:no call to initializeExtensionProcs for embedded window

Sergey Kurdakov sergey.forum at gmail.com
Mon Apr 6 14:11:17 PDT 2015


Hi Robert,

it looks a bug surfaces  due to my heavily modified code, so  now I
investigate the bug further ( it looks is not an osg bug now  ), though
earlier attempts to fix it by adding makeCurrent() to
GraphicsWindowEmbedded 's
      virtual bool realizeImplementation() { return makeCurrent(); }

somehow worked.

I will notify when I will find an initial  reason for the bug.

Regards
Sergey

On Mon, Apr 6, 2015 at 12:11 AM, Sergey Kurdakov <sergey.forum at gmail.com>
wrote:

> Hi Robert,
>
> I got dev version and found following
>
> When I create GraphicsWindowWin32
>
> then osg calls
>
> bool GraphicsWindowWin32::realizeImplementation()
>
> where it calls
>
> bool GraphicsContext::makeCurrent()
>
> then
>
> getState()->initializeExtensionProcs();
>
> but when
>
> GraphicsWindowEmbedded
>
> is created it
>
> calls
>
> virtual bool realizeImplementation() { return true; }
>
> thus not call to
>
> getState()->initializeExtensionProcs();
>
> and no extensions are initialized for embedded window
>
> Regards
> Sergey
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20150407/ac5f3f14/attachment-0002.htm>


More information about the osg-users mailing list