mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00: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",
|
||||
OS_LIB_PREFIX, opt, OS_LIB_EXT );
|
||||
#endif
|
||||
Con_Printf( "Loading renderer by short name: %s\n", opt );
|
||||
}
|
||||
else
|
||||
{
|
||||
// full path
|
||||
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 );
|
||||
|
||||
Con_Printf( "Loading renderer: %s -> %s\n", refopt, refdll );
|
||||
|
||||
if( !R_LoadProgs( refdll ))
|
||||
{
|
||||
R_Shutdown();
|
||||
|
Loading…
x
Reference in New Issue
Block a user