mirror of https://github.com/AxioDL/zeus.git
* Fix SSE4.1 in CVector2f
This commit is contained in:
parent
70aae5b648
commit
5e3df9ece4
|
@ -165,7 +165,7 @@ public:
|
|||
{
|
||||
#if __SSE4_1__
|
||||
TVectorUnion result;
|
||||
result.mVec128 = _mm_dp_ps(mVec128, rhs.mVec128, 0x71);
|
||||
result.mVec128 = _mm_dp_ps(mVec128, rhs.mVec128, 0x31);
|
||||
return result.v[0];
|
||||
#elif __SSE__
|
||||
TVectorUnion result;
|
||||
|
@ -179,7 +179,7 @@ public:
|
|||
{
|
||||
#if __SSE4_1__
|
||||
TVectorUnion result;
|
||||
result.mVec128 = _mm_dp_ps(mVec128, mVec128, 0x71);
|
||||
result.mVec128 = _mm_dp_ps(mVec128, mVec128, 0x31);
|
||||
return result.v[0];
|
||||
#elif __SSE__
|
||||
TVectorUnion result;
|
||||
|
|
Loading…
Reference in New Issue