Fixed ticket #33

This commit is contained in:
Christophe Riccio 2011-02-07 10:39:12 +00:00
parent 2e6cb304c3
commit 7a3aa677be
2 changed files with 2 additions and 2 deletions

View File

@ -242,7 +242,7 @@ namespace simd_mat4
detail::fmat4x4SIMD const & x
)
{
detail::tmat4x4<float> Result;
GLM_ALIGN(16) detail::tmat4x4<float> Result;
_mm_store_ps(&Result[0][0], x.Data[0].Data);
_mm_store_ps(&Result[1][0], x.Data[1].Data);
_mm_store_ps(&Result[2][0], x.Data[2].Data);

View File

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