Преглед на файлове

Remove *constexpr* from *compute_abs* on CUDA

Stephen Xu преди 2 години
родител
ревизия
f8a9e5043f
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      glm/detail/compute_common.hpp

+ 1 - 1
glm/detail/compute_common.hpp

@@ -28,7 +28,7 @@ namespace detail
 	template<>
 	struct compute_abs<float, true>
 	{
-		GLM_FUNC_QUALIFIER GLM_CONSTEXPR static float call(float x)
+		GLM_FUNC_QUALIFIER static float call(float x)
 		{
 			return fabsf(x);
 		}