mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-22 18:07:09 +01:00
engine: client: make ref params static so client.dll can save address of it and don't trigger ASan
This commit is contained in:
parent
788bc820c8
commit
6461fa5042
@ -364,7 +364,9 @@ V_RenderView
|
||||
*/
|
||||
void V_RenderView( void )
|
||||
{
|
||||
ref_params_t rp;
|
||||
// HACKHACK: make ref params static
|
||||
// not really critical but allows client.dll to take address of refdef and don't trigger ASan
|
||||
static ref_params_t rp;
|
||||
ref_viewpass_t rvp;
|
||||
int viewnum = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user