mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-22 21:04:14 +00: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++;
|
ref.numRenderers++;
|
||||||
COM_FreeLibrary( dll );
|
COM_FreeLibrary( dll );
|
||||||
continue;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -673,6 +672,7 @@ qboolean R_Init( void )
|
|||||||
if( !success )
|
if( !success )
|
||||||
{
|
{
|
||||||
Host_Error( "Can't initialize any renderer. Check your video drivers!" );
|
Host_Error( "Can't initialize any renderer. Check your video drivers!" );
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
SCR_Init();
|
SCR_Init();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user