]> git.mxchange.org Git - simgear.git/commit
Use observer_ptr::lock for thread-safe pointer retrieval.
authorThorstenB <brehmt@gmail.com>
Mon, 2 Apr 2012 18:09:02 +0000 (20:09 +0200)
committerThorstenB <brehmt@gmail.com>
Mon, 2 Apr 2012 18:47:27 +0000 (20:47 +0200)
commit9ad070871afb134a76a3549c8716b0a4f929ad3a
treeca4ab02d589a8af21ba4e34e51b4fbf81c39cce7
parentb95fb48a162fcdea8ec1384c265dc799001c8bac
Use observer_ptr::lock for thread-safe pointer retrieval.
Also revert to using ref_ptr for the top-level EffectMap, since it holds
elements no one else references (and don't affect memory much).
simgear/scene/material/TextureBuilder.cxx
simgear/scene/material/makeEffect.cxx
simgear/scene/material/mat.cxx
simgear/scene/sky/newcloud.cxx
simgear/scene/tgdb/TreeBin.cxx
simgear/scene/tgdb/pt_lights.cxx