mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2025-01-18 15:11:43 +00:00
print the shader loading message if the cvar "developer" is set
This commit is contained in:
parent
9016006312
commit
686d365397
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue