Browse Source

engine: client: vgui: unload client DLLL if no vgui_support export was found

pull/2/head
Alibek Omarov 3 years ago
parent
commit
b82d0bad7a
  1. 4
      engine/client/vgui/vgui_draw.c

4
engine/client/vgui/vgui_draw.c

@ -163,6 +163,10 @@ void VGui_Startup( const char *clientlib, int width, int height ) @@ -163,6 +163,10 @@ void VGui_Startup( const char *clientlib, int width, int height )
vgui.initialized = true;
Con_Reportf( "vgui_support: found internal client support\n" );
}
else
{
COM_FreeLibrary( s_pVGuiSupport );
}
}
if( !vgui.initialized )

Loading…
Cancel
Save