Fixed build

master
Christophe ago%!(EXTRA string=6 years)
parent e620adac1b
commit 083dfdcb91
  1. 2
      glm/ext/scalar_integer.inl

@ -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>

Loading…
Cancel
Save