Fixed shader paths

This commit is contained in:
Emmanuel BENOîT 2017-10-03 10:05:20 +02:00
parent 86ce40f772
commit fbeb0858ac

View file

@ -191,7 +191,7 @@ void T_ShaderProgram::load( )
} else {
printf( " %d:%s" , i , parts_[ i ].c_str( ) );
if ( sc.loadPart( i , parts_[ i ].c_str( ) , errors_ ) ) {
files_.watch( parts_[ i ] );
files_.watch( "shaders/" + parts_[ i ] );
}
}
}