Updated unpackHalf2x16 implementation

This commit is contained in:
Christophe Riccio 2013-02-10 20:47:38 +01:00
parent 4286b02686
commit e359439b86

View File

@ -187,7 +187,7 @@ namespace glm
Pack.orig.a = detail::toFloat16(v.x);
Pack.orig.b = detail::toFloat16(v.y);
return *(uint*)&Pack;
return Pack.other;
}
GLM_FUNC_QUALIFIER vec2 unpackHalf2x16(uint const & v)