Fixed build

This commit is contained in:
Christophe 2019-08-07 14:11:22 +02:00
parent e620adac1b
commit 083dfdcb91

View File

@ -178,7 +178,7 @@ namespace detail
{
GLM_STATIC_ASSERT(std::numeric_limits<genIUType>::is_integer, "'prevPowerOfTwo' only accept integer inputs");
return isPowerOfTwo(value) ? value : static_cast<genIUType>(1) << findMSB(value);
return isPowerOfTwo(value) ? value : static_cast<genIUType>(1 << findMSB(value));
}
template<typename genIUType>