Maybe passiveWindow's destructor can assert for an active context?

That would not be very expensive, it'd help, and yes, that's how I fixed
it.
(i.e by activating the context before destroying the PassiveWindow.)

/Marcus


2014-08-18 13:16 GMT+02:00 Carsten Neumann <carsten.p.neum...@gmail.com>:

>         Hello Marcus,
>
> On 08/18/2014 12:06 PM, Marcus Lindblom Sonestedt wrote:
> > This happens if a PassiveWindow is destroyed while there is no current
> > active context.
>
> hmm, arguably that is already the bug: destroying a PassiveWindow
> requires an active context (just like rendering with it does), so that
> it can clean up OpenGL objects.
>
>         Cheers,
>                 Carsten
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Opensg-users mailing list
> Opensg-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/opensg-users
>
>
------------------------------------------------------------------------------
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to