Merge pull request #1100 from baldvin-kovacs/master

Fix implicit conversion compiler error in glm/gtc/random.inl #1100
master
Christophe ago%!(EXTRA string=3 years) committed by GitHub
commit 922f391824
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      glm/gtc/random.inl

@ -22,7 +22,7 @@ namespace detail
GLM_FUNC_QUALIFIER static vec<1, uint8, P> call()
{
return vec<1, uint8, P>(
std::rand() % std::numeric_limits<uint8>::max());
static_cast<uint8>(std::rand() % std::numeric_limits<uint8>::max()));
}
};

Loading…
Cancel
Save