2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-22 01:45:19 +01:00

engine: ref: remove redutant continue, return false in case of failed renderer initialization

This commit is contained in:
Alibek Omarov 2019-10-11 07:42:44 +03:00
parent 11c373a183
commit eff814b148
2 changed files with 6 additions and 6 deletions

View File

@ -617,7 +617,6 @@ void R_CollectRendererNames( void )
ref.numRenderers++;
COM_FreeLibrary( dll );
continue;
}
}
@ -673,6 +672,7 @@ qboolean R_Init( void )
if( !success )
{
Host_Error( "Can't initialize any renderer. Check your video drivers!" );
return false;
}
SCR_Init();

10
waf vendored

File diff suppressed because one or more lines are too long