2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 13:04:56 +00:00

Add True and False tests for bitwise enums

This commit is contained in:
Jack Andersen
2019-04-02 18:29:04 -10:00
parent 6816fea5b8
commit 2ab5c1436b
4 changed files with 7 additions and 7 deletions

View File

@@ -555,7 +555,7 @@ bool Compiler::compileFile(SystemStringView file, std::string_view baseName, std
break;
}
out.second += Format(fmt,
(attr.first & boo::VertexSemantic::Instanced) != boo::VertexSemantic::None
True(attr.first & boo::VertexSemantic::Instanced)
? " | boo::VertexSemantic::Instanced"
: "",
attr.second);