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:
parent
11c373a183
commit
eff814b148
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user