print the shader loading message if the cvar "developer" is set
This commit is contained in:
1 parent
9016006312
commit
686d365397
1 file changed
+1
-1
@@ -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 );
|
||||
|
||||
Reference in new issue
Block a user