|
|
@ -200,10 +200,15 @@ void VGui_Startup( const char *clientlib, int width, int height ) |
|
|
|
if( !s_pVGuiSupport ) |
|
|
|
if( !s_pVGuiSupport ) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if( FS_FileExists( vguiloader, false )) |
|
|
|
if( FS_FileExists( vguiloader, false )) |
|
|
|
|
|
|
|
{ |
|
|
|
Con_Reportf( S_ERROR "Failed to load vgui_support library: %s\n", COM_GetLibraryError() ); |
|
|
|
Con_Reportf( S_ERROR "Failed to load vgui_support library: %s\n", COM_GetLibraryError() ); |
|
|
|
|
|
|
|
} |
|
|
|
else |
|
|
|
else |
|
|
|
|
|
|
|
{ |
|
|
|
Con_Reportf( "vgui_support: not found\n" ); |
|
|
|
Con_Reportf( "vgui_support: not found\n" ); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
failed = true; |
|
|
|
|
|
|
|
} |
|
|
|
else |
|
|
|
else |
|
|
|
{ |
|
|
|
{ |
|
|
|
F = COM_GetProcAddress( s_pVGuiSupport, "InitAPI" ); |
|
|
|
F = COM_GetProcAddress( s_pVGuiSupport, "InitAPI" ); |
|
|
@ -213,7 +218,11 @@ void VGui_Startup( const char *clientlib, int width, int height ) |
|
|
|
vgui.initialized = true; |
|
|
|
vgui.initialized = true; |
|
|
|
} |
|
|
|
} |
|
|
|
else |
|
|
|
else |
|
|
|
|
|
|
|
{ |
|
|
|
Con_Reportf( S_ERROR "Failed to find vgui_support library entry point!\n" ); |
|
|
|
Con_Reportf( S_ERROR "Failed to find vgui_support library entry point!\n" ); |
|
|
|
|
|
|
|
failed = true; |
|
|
|
|
|
|
|
COM_FreeLibrary( s_pVGuiSupport ); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|