print the shader loading message if the cvar "developer" is set

This commit is contained in:
Ludwig Nussel 2007-08-16 15:16:32 +00:00
parent 9016006312
commit 686d365397

View file

@ -2891,7 +2891,7 @@ static void ScanAndLoadShaderFiles( void )
char filename[MAX_QPATH];
Com_sprintf( filename, sizeof( filename ), "scripts/%s", shaderFiles[i] );
// ri.Printf( PRINT_ALL, "...loading '%s'\n", filename );
ri.Printf( PRINT_DEVELOPER, "...loading '%s'\n", filename );
sum += ri.FS_ReadFile( filename, (void **)&buffers[i] );
if ( !buffers[i] ) {
ri.Error( ERR_DROP, "Couldn't load %s", filename );