print hidden empty shader/texture dirs on console <3 @Pan7

This commit is contained in:
Thomas Debesse 2018-01-07 05:31:42 +01:00
parent b1c4fb1304
commit 88805013d4

View file

@ -685,6 +685,10 @@ void FillTextureList( GSList** pArray )
{
texdirs = g_slist_append( texdirs, g_strdup( (char *)p->data ) );
}
else
{
Sys_Printf( "Hiding empty texture dir: %s\n", g_strdup( (char *)p->data ) );
}
}
vfsClearFileDirList( &texdirs_tmp );
}
@ -723,6 +727,10 @@ void FillTextureList( GSList** pArray )
{
texdirs = g_slist_prepend( texdirs, g_strdup( shaderfile ) );
}
else
{
Sys_Printf( "Hiding empty shader dir: %s\n", g_strdup ( shaderfile ) );
}
}
free( l_shaderfiles->data );