engine: ref: remove redutant continue, return false in case of failed renderer initialization
This commit is contained in:
parent
11c373a183
commit
eff814b148
2 changed files with 6 additions and 6 deletions
|
@ -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
10
waf
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue