Thanks, this fixes the problem in our application.
 
Michael
 
Gesendet: Mittwoch, 23. April 2014 um 09:51 Uhr
Von: "Gerrit Voß" <vo...@vossg.org>
An: opensg-users@lists.sourceforge.net
Betreff: Re: [Opensg-users] OpenSG 2.0 - Render and read back depth buffer using FBO
Hi,

On Wed, 2014-04-23 at 06:48 +0800, Gerrit Voß wrote:
> Hi,
>
> > On 22 Apr, 2014, at 22:55, Dirk Reiners <dirk.rein...@gmail.com> wrote:
> >
> > Hi Michael,
> >
> > On Apr 22, 2014 3:16 AM, "Michael Raab" <michael-r...@gmx.de> wrote:
> > >
> > > The other still remains and I think I found the reason. As temporary window I use a PassiveWindow. When this gets destructed is sets the current Context to NULL.
> > > To be honest I have no idea why this is done and what the main idea behind the PassiveWindow is. Maybe you can give a short summary?
> >
> > The idea behind the PassiveWindow is that it's passive: it does not activate/manage the OpenGL context at all and expects it to be handled by the outside. It was designed to be used with GUI toolkits that we don't have native support for like GTK.
> >
> > I'm writing this on my phone so I can't look at the code, but it should not be able to do anything with the actual OpenGL context, so I'm not sure which connects it sets to NULL.
> >
>
> it's a bug, it runs through a code path that does not check the passive flag before deactivating.
> I'll have a look.

fixed with the latest commit.

kind regards
gerrit


------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to