GL3: Make sure HandmadeMath also works without SSE

This commit is contained in:
Daniel Gibson 2017-04-02 20:04:27 +02:00
parent dbf0563565
commit 85c8c83c4b
1 changed files with 1 additions and 1 deletions

View File

@ -772,7 +772,7 @@ HMM_RSquareRootF(float Value)
float Result = 0.0f;
#ifdef HANDMADE_MATH_NO_SSE
Result = 1.0f/HMM_SqrtF(Value);
Result = 1.0f/HMM_SquareRootF(Value);
#else
__m128 In = _mm_set_ss(Value);
__m128 Out = _mm_rsqrt_ss(In);