[osg-users] Crash in nVidia driver : particles + dynamically adding/removing views

J.P. Delport jpdelport at csir.co.za
Wed Nov 4 06:19:38 PST 2009


Hi J-S,

Jean-Sébastien Guay wrote:
>> Hmm, what is strange is that the modified (extremely hacky) version 
>> attached does not crash and seems to work. It just uses a shared 
>> context, so maybe there is something in the context vs vertex array 
>> that is not working properly.
> 
> Yes, well one of my hunches was that something in the context 
> creation/reuse was buggy, since the problem appears because we're 
> creating, then deleting, then creating contexts. I've traced into the 
> code of the effect, and the same context ID seems to be reused the 
> second time the secondary view is created (3rd 'a') as the first time 
> (1st 'a'). That means that when getting the osg::Drawable::Extensions 
> object, the same one that was created for the old context is reused for 
> the new context.

Did the shared context version I previously attached work on Windows? 
Just curious. When I tried it on Linux I could add/remove many times.

rgds
jp

-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their support.



More information about the osg-users mailing list