]> git.mxchange.org Git - flightgear.git/commit
initialize _material pointer in FGGroundCache
authortimoore <timoore>
Thu, 22 Nov 2007 23:46:39 +0000 (23:46 +0000)
committertimoore <timoore>
Thu, 22 Nov 2007 23:46:39 +0000 (23:46 +0000)
commit2a03296e5e29bbfb11ed75bf0add87fc5e5f7a97
tree18d7704521b7f4676569e3f922ce5ca54169dee5
parent8f64d4820cbe92d90eedcdb4714ffcfa95f96f24
initialize _material pointer in FGGroundCache

_material was uninitialized. This was causing a segfault with
as-yet-to-be-checked-in paging code; I don't know if it ever resulted
in a segfault with the old tile loader, but it certainly could have.
src/FDM/groundcache.cxx