Fixed bugs in lazy shader compilation.
This commit is contained in:
@@ -44,12 +44,12 @@ constexpr ENUM_TYPE operator<<( \
|
||||
); \
|
||||
} \
|
||||
\
|
||||
constexpr ENUM_TYPE operator<<( \
|
||||
constexpr ENUM_TYPE operator>>( \
|
||||
ENUM_TYPE& lhs, \
|
||||
int shift \
|
||||
) { \
|
||||
return static_cast<ENUM_TYPE>( \
|
||||
static_cast<std::underlying_type_t<ENUM_TYPE>>(lhs) << shift \
|
||||
static_cast<std::underlying_type_t<ENUM_TYPE>>(lhs) >> shift \
|
||||
); \
|
||||
} \
|
||||
\
|
||||
|
||||
Reference in New Issue
Block a user