1
0
Fork 0

Unconvoluted around line #130

This commit is contained in:
curt 2001-04-11 20:09:23 +00:00
parent b0b6c34249
commit e03752883e

View file

@ -129,10 +129,8 @@ bool FGMaterialLib::load( const string& mpath ) {
in >> m; in >> m;
// build the ssgSimpleState // build the ssgSimpleState
SGPath tmp_path( globals->get_fg_root() ); SGPath tex_path( globals->get_fg_root() );
tmp_path.append( "Textures.high" ); tex_path.append( "Textures.high" );
SGPath tex_path = tmp_path;
tex_path.append( m.get_texture_name() ); tex_path.append( m.get_texture_name() );
if ( ! local_file_exists(tex_path.str()) if ( ! local_file_exists(tex_path.str())
|| general.get_glMaxTexSize() < 512 ) { || general.get_glMaxTexSize() < 512 ) {