Merge commit 'refs/merge-requests/6' of git://gitorious.org/fg/flightgear into torsten/mkviii
This commit is contained in:
commit
3b410152f0
1 changed files with 1 additions and 2 deletions
|
@ -122,10 +122,9 @@ wxRadarBg::init ()
|
|||
"Aircraft/Instruments/Textures/od_wxradar.rgb");
|
||||
_resultTexture = FGTextureManager::createTexture(_texture_path.c_str(), false);
|
||||
|
||||
SGPath tpath(globals->get_fg_root());
|
||||
string path = _Instrument->getStringValue("echo-texture-path",
|
||||
"Aircraft/Instruments/Textures/wxecho.rgb");
|
||||
tpath.append(path);
|
||||
SGPath tpath = globals->resolve_aircraft_path(path);
|
||||
|
||||
// no mipmap or else alpha will mix with pixels on the border of shapes, ruining the effect
|
||||
_wxEcho = SGLoadTexture2D(tpath, false, false);
|
||||
|
|
Loading…
Add table
Reference in a new issue