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