Merge pull request #13 from billeter/flagfix
Cast to MaskType rather than uint32_t
This commit is contained in:
@@ -72,7 +72,7 @@ const std::string flagsHeader(
|
|||||||
" }\n"
|
" }\n"
|
||||||
"\n"
|
"\n"
|
||||||
" Flags(BitType bit)\n"
|
" Flags(BitType bit)\n"
|
||||||
" : m_mask(static_cast<uint32_t>(bit))\n"
|
" : m_mask(static_cast<MaskType>(bit))\n"
|
||||||
" {\n"
|
" {\n"
|
||||||
" }\n"
|
" }\n"
|
||||||
"\n"
|
"\n"
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ namespace vk
|
|||||||
}
|
}
|
||||||
|
|
||||||
Flags(BitType bit)
|
Flags(BitType bit)
|
||||||
: m_mask(static_cast<uint32_t>(bit))
|
: m_mask(static_cast<MaskType>(bit))
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user