mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-23 05:14:15 +00: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…
x
Reference in New Issue
Block a user