engine: client: fix loading internal vgui (thx @SNMetamorph)

This commit is contained in:
Alibek Omarov 2022-11-14 20:08:01 +03:00
parent d27dd68072
commit e9da43666c

View File

@ -3974,7 +3974,7 @@ qboolean CL_LoadProgs( const char *name )
return false; return false;
// delayed vgui initialization for internal support // delayed vgui initialization for internal support
if( GI->internal_vgui_support && VGui_LoadProgs( NULL )) if( GI->internal_vgui_support && VGui_LoadProgs( clgame.hInstance ))
{ {
VGui_Startup( refState.width, refState.height ); VGui_Startup( refState.width, refState.height );
} }