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
1 changed files with 3 additions and 1 deletions
|
@ -364,7 +364,9 @@ V_RenderView
|
||||||
*/
|
*/
|
||||||
void V_RenderView( void )
|
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;
|
ref_viewpass_t rvp;
|
||||||
int viewnum = 0;
|
int viewnum = 0;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue