Browse Source

Fixed half to float implicit cast

Christophe Riccio 14 years ago
parent
commit
e4792b6f4d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      glm/core/type_half.inl

+ 1 - 1
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()