Frederic Bouvier wrote:
> Hi Tim,
> 
> Tim Moore wrote :
>> This code did survive the OSG port, but was removed in a later
>> reorganization of  the tile loading code. It's easy enough 
>> to put this back in, but the old code would add the local 
>> material permanently to the material library; is that really 
>> desired? I would think the local material should get deleted 
>> when the tile is deleted.
> 
> I tried to restore that code this past weekend but I experienced
> random access violation when loading the texture. I was wondering
> if loading textures in the pager thread was legal.

It is legal to load textures from the pager thread, but there might now be a 
problem with adding a material to the material library in the pager thread. Is 
the access violation really "random?"

Tim

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to