Shader: Rename Parse function to ParseFromFile
to avoid ambiguous calls when passing const char*
This commit is contained in:
@@ -1257,7 +1257,7 @@ namespace Nz::ShaderLang
|
||||
}
|
||||
}
|
||||
|
||||
ShaderAst::StatementPtr Parse(const std::filesystem::path& sourcePath)
|
||||
ShaderAst::StatementPtr ParseFromFile(const std::filesystem::path& sourcePath)
|
||||
{
|
||||
File file(sourcePath);
|
||||
if (!file.Open(OpenMode::ReadOnly | OpenMode::Text))
|
||||
|
||||
Reference in New Issue
Block a user