Shader/SourceLocation: Fix column index

This commit is contained in:
SirLynix
2022-04-02 03:03:06 +02:00
parent 655423f096
commit 1c7a3a96e5
2 changed files with 11 additions and 11 deletions

View File

@@ -79,7 +79,7 @@ namespace Nz::ShaderLang
inline bool SourceLocation::IsValid() const
{
return startLine != 0 && endLine != 0 && endColumn != 0 && startColumn != 0;
return startLine != 0 || endLine != 0 || endColumn != 0 || startColumn != 0;
}
}