Browse Source

Fixed build

Christophe 6 years ago
parent
commit
083dfdcb91
1 changed files with 1 additions and 1 deletions
  1. 1 1
      glm/ext/scalar_integer.inl

+ 1 - 1
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>