mirror of
https://github.com/g-truc/glm.git
synced 2025-04-10 07:18:54 +00:00
Fixed build
This commit is contained in:
parent
e620adac1b
commit
083dfdcb91
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue