Fixed build error

master
Christophe Riccio ago%!(EXTRA string=11 years)
parent 7cd21032d3
commit 3344c8e9a0
  1. 2
      glm/detail/func_integer.inl

@ -251,7 +251,7 @@ namespace glm
{ {
GLM_STATIC_ASSERT(std::numeric_limits<genIUType>::is_integer, "'bitCount' only accept integer values"); GLM_STATIC_ASSERT(std::numeric_limits<genIUType>::is_integer, "'bitCount' only accept integer values");
return bitCount(tvec1(x)).x; return bitCount(tvec1<genIUType>(x)).x;
} }
template <typename T, precision P, template <typename, precision> class vecType> template <typename T, precision P, template <typename, precision> class vecType>

Loading…
Cancel
Save