]> git.mxchange.org Git - simgear.git/commit
Fix further possible memory leaks by using osg::ref_ptr for vertex
authorStuart Buchanan <stuart_d_buchanan@yahoo.co.uk>
Wed, 4 Jul 2012 23:10:07 +0000 (00:10 +0100)
committerStuart Buchanan <stuart_d_buchanan@yahoo.co.uk>
Wed, 4 Jul 2012 23:10:07 +0000 (00:10 +0100)
commit4f7f5023dfacc58ea55bb9e7700097be399e2975
treef1c3fc1ef52aa78a0c0681c8bd51a5951390a918
parent4838a9690e1a9492db6741f4950976b63868200d
Fix further possible memory leaks by using osg::ref_ptr for vertex
arrays in random buildings and random vegetation.  Also change
normals on trees to be per-vertex as some graphics cards apparently
find this easier to deal with.
simgear/scene/sky/CloudShaderGeometry.cxx
simgear/scene/tgdb/SGBuildingBin.cxx