- SG_LOG( SG_COCKPIT, SG_DEBUG,
- "Texture " << relativePath << " does not yet exist" );
- SGPath tpath(globals->get_fg_root());
- tpath.append(relativePath);
-
- texture = SGLoadTexture2D(tpath);
+ SGPath tpath = globals->resolve_aircraft_path(relativePath);
+ texture = SGLoadTexture2D(staticTexture, tpath);