diff options
Diffstat (limited to '3rdparty/glm/test/gtc/gtc_integer.cpp')
| -rw-r--r-- | 3rdparty/glm/test/gtc/gtc_integer.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/3rdparty/glm/test/gtc/gtc_integer.cpp b/3rdparty/glm/test/gtc/gtc_integer.cpp index f3d056e2400..302ceec1a6e 100644 --- a/3rdparty/glm/test/gtc/gtc_integer.cpp +++ b/3rdparty/glm/test/gtc/gtc_integer.cpp @@ -1,3 +1,4 @@ +#define GLM_ENABLE_EXPERIMENTAL #define GLM_FORCE_INLINE #include <glm/gtc/epsilon.hpp> #include <glm/gtc/integer.hpp> @@ -93,7 +94,7 @@ namespace log2_ for(std::size_t i = 0; i < Count; ++i) { - glm::tvec4<unsigned long, glm::defaultp> Tmp(glm::uninitialize); + glm::vec<4, unsigned long, glm::defaultp> Tmp(glm::uninitialize); _BitScanReverse(&Tmp.x, i); _BitScanReverse(&Tmp.y, i); _BitScanReverse(&Tmp.z, i); @@ -108,7 +109,7 @@ namespace log2_ { - std::vector<glm::tvec4<unsigned long, glm::defaultp> > Result; + std::vector<glm::vec<4, unsigned long, glm::defaultp> > Result; Result.resize(Count); std::clock_t Begin = clock(); |
