Browse Source

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

pull/2/head
Alibek Omarov 2 years ago
parent
commit
e9da43666c
  1. 2
      engine/client/cl_game.c

2
engine/client/cl_game.c

@ -3974,7 +3974,7 @@ qboolean CL_LoadProgs( const char *name ) @@ -3974,7 +3974,7 @@ qboolean CL_LoadProgs( const char *name )
return false;
// 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 );
}

Loading…
Cancel
Save