parent
9d5634a79e
commit
cc1df445a7
@ -1 +1,2 @@
|
||||
/glm-0.9.3.2.zip
|
||||
/glm-0.9.3.4.zip
|
||||
|
@ -0,0 +1,15 @@
|
||||
diff -ru glm-0.9.3.2-orig/glm/gtx/integer.inl glm-0.9.3.2/glm/gtx/integer.inl
|
||||
--- glm-0.9.3.2-orig/glm/gtx/integer.inl 2012-09-02 21:53:24.298350117 +0300
|
||||
+++ glm-0.9.3.2/glm/gtx/integer.inl 2012-09-02 21:54:42.435203223 +0300
|
||||
@@ -60,10 +60,8 @@
|
||||
template <typename T>
|
||||
GLM_FUNC_QUALIFIER T operator() (T const & Value) const
|
||||
{
|
||||
-#if(GLM_COMPILER & GLM_COMPILER_VC)
|
||||
+#if(GLM_COMPILER & (GLM_COMPILER_VC | GLM_COMPILER_GCC))
|
||||
return Value <= T(1) ? T(0) : T(32) - nlz(Value - T(1));
|
||||
-#elif(GLM_COMPILER & GLM_COMPILER_GCC)
|
||||
- return Value <= T(1) ? T(0) : nlz(Value - T(1)) + 1;
|
||||
#else
|
||||
return T(32) - nlz(Value - T(1));
|
||||
#endif
|
Loading…
Reference in new issue