Skip to content

Commit

Permalink
Do not error out on non-existing include paths when checking shaders …
Browse files Browse the repository at this point in the history
…for magic comments
  • Loading branch information
SCell555 committed May 30, 2023
1 parent f29eb00 commit d3b07a1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ShaderCompile/shaderparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,7 @@ static bool ReadFile( const fs::path& name, const std::string& srcPath, std::vec
}

reducedLine.clear();
if ( !ReadFile( parent / incl, srcPath, includes, func ) )
return false;
ReadFile( parent / incl, srcPath, includes, func );
continue;
}
reducedLine.clear();
Expand Down

0 comments on commit d3b07a1

Please # to comment.