mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-02-16 17:11:03 +00:00
GL3: Make sure HandmadeMath also works without SSE
This commit is contained in:
parent
dbf0563565
commit
85c8c83c4b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue