Add GIF support for terrain textures

This commit is contained in:
Jarrod Doyle 2024-08-18 10:28:22 +01:00
parent 66c324be53
commit d9a54b65d5
Signed by: Jayrude
GPG Key ID: 38B57B16E7C0ADF7
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ public partial class TextureLoader
private static void RegisterTexturePaths(string rootDir, Dictionary<string, string> map) private static void RegisterTexturePaths(string rootDir, Dictionary<string, string> map)
{ {
// TODO: Load DDS BMP GIF CEL // TODO: Load DDS BMP GIF CEL
string[] validExtensions = { "png", "tga", "pcx" }; string[] validExtensions = { "png", "tga", "pcx", "gif" };
var famOptions = new EnumerationOptions { MatchCasing = MatchCasing.CaseInsensitive }; var famOptions = new EnumerationOptions { MatchCasing = MatchCasing.CaseInsensitive };
var textureOptions = new EnumerationOptions var textureOptions = new EnumerationOptions