mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-29 07:32:02 +00:00
[qfcc] Really get vecaddr.r working on both ISAs
Deliberately defeating an optimiser is not so easy (but I really needed that variable to be set).
This commit is contained in:
parent
e1a0c31e3f
commit
b8df11b2cb
1 changed files with 2 additions and 1 deletions
|
@ -17,7 +17,8 @@ float foo (vector _v, float _z)
|
|||
vector v = _v;
|
||||
float z = _z;
|
||||
_v = nil;
|
||||
_z = _z - _z;
|
||||
_z = 0;
|
||||
forcelive (_z);
|
||||
forcelive (z);
|
||||
return (v dot *(vector*)(&v.y))X;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue