Unconvoluted around line #130
This commit is contained in:
parent
b0b6c34249
commit
e03752883e
1 changed files with 2 additions and 4 deletions
|
@ -129,10 +129,8 @@ bool FGMaterialLib::load( const string& mpath ) {
|
|||
in >> m;
|
||||
|
||||
// build the ssgSimpleState
|
||||
SGPath tmp_path( globals->get_fg_root() );
|
||||
tmp_path.append( "Textures.high" );
|
||||
|
||||
SGPath tex_path = tmp_path;
|
||||
SGPath tex_path( globals->get_fg_root() );
|
||||
tex_path.append( "Textures.high" );
|
||||
tex_path.append( m.get_texture_name() );
|
||||
if ( ! local_file_exists(tex_path.str())
|
||||
|| general.get_glMaxTexSize() < 512 ) {
|
||||
|
|
Loading…
Reference in a new issue