Browse Source

Tentative CUDA workaround #530

Christophe Riccio 9 years ago
parent
commit
cd50d4ae5c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      glm/detail/func_common.inl

+ 1 - 1
glm/detail/func_common.inl

@@ -439,7 +439,7 @@ namespace detail
 	template <typename genType>
 	GLM_FUNC_QUALIFIER genType mod(genType x, genType y)
 	{
-		return mod(tvec1<genType>(x), y).x;
+		return mod(tvec1<genType, defaultp>(x), y).x;
 	}
 
 	template <typename T, precision P, template <typename, precision> class vecType>