search all subdirectories

main
cosmonaut 2023-03-15 11:31:00 -07:00
parent 89f8d9fe0e
commit f10e8ec255
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ namespace Palettizer2
var writer = new StbImageWriteSharp.ImageWriter();
// add all sprite colors to palette
foreach (var imageFile in directory.EnumerateFiles("*.png"))
foreach (var imageFile in directory.EnumerateFiles("*.png", SearchOption.AllDirectories))
{
System.Console.WriteLine(imageFile.FullName);