From e4792b6f4d197b7e54f4abcf8bf1d828aae90b11 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Sat, 7 May 2011 14:59:03 +0100 Subject: [PATCH] Fixed half to float implicit cast --- glm/core/type_half.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glm/core/type_half.inl b/glm/core/type_half.inl index 3fb0a4ce..df2d6a3c 100644 --- a/glm/core/type_half.inl +++ b/glm/core/type_half.inl @@ -256,7 +256,7 @@ namespace detail inline thalf::operator float() const { - return toFloat(); + return toFloat32(this->data); } //inline half::operator double()