mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-08 21:31:46 +08:00
vgui_support: remove utl dependency, by porting new vgui support code from original engine, remove dead function definitions, remove dead vgui_main.h header from engine
This commit is contained in:
@@ -28,19 +28,12 @@ namespace vgui_support {
|
||||
|
||||
vguiapi_t *g_api;
|
||||
|
||||
FontCache *g_FontCache = 0;
|
||||
|
||||
Panel *rootpanel = NULL;
|
||||
CEngineSurface *surface = NULL;
|
||||
CEngineApp staticApp;
|
||||
|
||||
void VGui_Startup( int width, int height )
|
||||
{
|
||||
if( !g_FontCache )
|
||||
{
|
||||
g_FontCache = new FontCache();
|
||||
}
|
||||
|
||||
if( rootpanel )
|
||||
{
|
||||
rootpanel->setSize( width, height );
|
||||
|
||||
Reference in New Issue
Block a user