Skip to content

Commit 5434494

Browse files
committed
Don't raise warning for disabled Vive layers
refs #27
1 parent 2b3a2b0 commit 5434494

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/linters/windows/ViveLayersLinter.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ class ViveLayersLinter final : public Linter {
4343

4444
std::vector<std::shared_ptr<LintError>> ret;
4545
for (const auto& [layer, details]: layers) {
46+
if (!layer.IsEnabled()) {
47+
continue;
48+
}
4649
if (!LayerNames.contains(details.mName)) {
4750
continue;
4851
}

0 commit comments

Comments
 (0)