Browse Source

engine: client: make ref params static so client.dll can save address of it and don't trigger ASan

pull/2/head
Alibek Omarov 1 year ago
parent
commit
6461fa5042
  1. 4
      engine/client/cl_view.c

4
engine/client/cl_view.c

@ -364,7 +364,9 @@ V_RenderView @@ -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…
Cancel
Save