mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2026-10-12 03:08:00 +08:00
Remove depricated register declaration
This commit is contained in:
1 parent
8ca67e8f10
commit
75ca4f2cd3
1 file changed
+1
-1
@@ -328,7 +328,7 @@ void inline SinCos( float radians, float *sine, float *cosine )
|
||||
fstp DWORD PTR [eax]
|
||||
}
|
||||
#elif defined ( _LINUX ) || defined ( __APPLE__ )
|
||||
register double __cosr, __sinr;
|
||||
double __cosr, __sinr;
|
||||
__asm __volatile__
|
||||
("fsincos"
|
||||
: "=t" (__cosr), "=u" (__sinr) : "0" (radians));
|
||||
|
||||
Reference in new issue
Block a user