Hi Marcus,

the ShaderParameterAccess class is just a wrapper to make the parameter 
handling easier. You can manipulate the parameters directly via 
shl->getParameters() but I prever a fix. Can you try to move this line

_parameter_access = new ShaderParameterAccess(getParameters());

from ShaderParameterChunk::onCreate() into the constructor. Or do you 
have a small example program to reproduce the bug?

Andreas


> Hi,
> 
> Again, some effort on multithreading. :)
> 
> The _parameter_access variable is a simple pointer (and not in the -Base 
> class), and no care seems to have has been taken to copy/initialise it 
> for the other aspect.
> 
> Is there a known workaround other than not trying to update unforms from 
> a separate thread? (I can probably do that..)
> 
> Cheers,
> /Marcus
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Opensg-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensg-users
> 


-- 
VREC
Robert-Bosch-Straße 7
D-64293 Darmstadt
Tel. 06151-4921035

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to