mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2025-02-07 08:21:48 +00:00
don't spam console with "loading..." messages when loading shaders
This commit is contained in:
parent
fbe65853e4
commit
9016006312
1 changed files with 1 additions and 1 deletions
|
@ -2891,7 +2891,7 @@ static void ScanAndLoadShaderFiles( void )
|
||||||
char filename[MAX_QPATH];
|
char filename[MAX_QPATH];
|
||||||
|
|
||||||
Com_sprintf( filename, sizeof( filename ), "scripts/%s", shaderFiles[i] );
|
Com_sprintf( filename, sizeof( filename ), "scripts/%s", shaderFiles[i] );
|
||||||
ri.Printf( PRINT_ALL, "...loading '%s'\n", filename );
|
// ri.Printf( PRINT_ALL, "...loading '%s'\n", filename );
|
||||||
sum += ri.FS_ReadFile( filename, (void **)&buffers[i] );
|
sum += ri.FS_ReadFile( filename, (void **)&buffers[i] );
|
||||||
if ( !buffers[i] ) {
|
if ( !buffers[i] ) {
|
||||||
ri.Error( ERR_DROP, "Couldn't load %s", filename );
|
ri.Error( ERR_DROP, "Couldn't load %s", filename );
|
||||||
|
|
Loading…
Reference in a new issue