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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user