]> git.mxchange.org Git - simgear.git/commit
Don't leak cube-map textures
authorJames Turner <zakalawe@mac.com>
Thu, 13 Mar 2014 22:16:58 +0000 (22:16 +0000)
committerJames Turner <zakalawe@mac.com>
Thu, 13 Mar 2014 22:16:58 +0000 (22:16 +0000)
commitc925b7b601992f80d4dc15be5244c273bb935ff6
treed9032ff5fe3443a4b157275434e0374fe3580aba
parent966789de9059e130ef7e0ce943d886dbe53df259
Don't leak cube-map textures

- use observer_ptr so cube-map textures are released without the
builder holing a ref.
simgear/scene/material/TextureBuilder.cxx