mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-04 17:42:22 +01:00
engine: ref: fix spamming in console when getting human readable renderer names
This commit is contained in:
parent
1e7abdc144
commit
6d8026cd81
@ -508,13 +508,11 @@ static void R_GetRendererName( char *dest, size_t size, const char *opt )
|
|||||||
Q_snprintf( dest, size, "%sref_%s.%s",
|
Q_snprintf( dest, size, "%sref_%s.%s",
|
||||||
OS_LIB_PREFIX, opt, OS_LIB_EXT );
|
OS_LIB_PREFIX, opt, OS_LIB_EXT );
|
||||||
#endif
|
#endif
|
||||||
Con_Printf( "Loading renderer by short name: %s\n", opt );
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// full path
|
// full path
|
||||||
Q_strcpy( dest, opt );
|
Q_strcpy( dest, opt );
|
||||||
Con_Printf( "Loading renderer: %s\n", opt );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -524,6 +522,8 @@ static qboolean R_LoadRenderer( const char *refopt )
|
|||||||
|
|
||||||
R_GetRendererName( refdll, sizeof( refdll ), refopt );
|
R_GetRendererName( refdll, sizeof( refdll ), refopt );
|
||||||
|
|
||||||
|
Con_Printf( "Loading renderer: %s -> %s\n", refopt, refdll );
|
||||||
|
|
||||||
if( !R_LoadProgs( refdll ))
|
if( !R_LoadProgs( refdll ))
|
||||||
{
|
{
|
||||||
R_Shutdown();
|
R_Shutdown();
|
||||||
|
Loading…
Reference in New Issue
Block a user