Add GIF support for terrain textures
This commit is contained in:
parent
66c324be53
commit
d9a54b65d5
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue