Fixed alignment

This commit is contained in:
Christophe Riccio 2011-05-02 23:44:37 +01:00
parent 8f0ecea1a2
commit 5ffc2ec483

View File

@ -275,7 +275,7 @@ namespace glm
detail::fvec4SIMD const & x detail::fvec4SIMD const & x
) )
{ {
GLM_ALIGN(4) detail::tvec4<float> Result; GLM_ALIGN(16) detail::tvec4<float> Result;
_mm_store_ps(&Result[0], x.Data); _mm_store_ps(&Result[0], x.Data);
return Result; return Result;
} }