mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-01-04 00:23:25 +08:00
Revert "Remove depricated register declaration"
This reverts commit 16c618aa49b942e3c15f8359da8e4bce2ebef261.
This commit is contained in:
parent
16c618aa49
commit
a4a0aa9de0
@ -329,7 +329,7 @@ void inline SinCos( float radians, float *sine, float *cosine )
|
||||
fstp DWORD PTR [eax]
|
||||
}
|
||||
#elif defined( GNUC )
|
||||
double __cosr, __sinr;
|
||||
register double __cosr, __sinr;
|
||||
__asm __volatile__ ("fsincos" : "=t" (__cosr), "=u" (__sinr) : "0" (radians));
|
||||
|
||||
*sine = __sinr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user