mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: client: vgui: unload client DLLL if no vgui_support export was found
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user