Skip to content

Commit

Permalink
Forgot to include RGBA Checking
Browse files Browse the repository at this point in the history
  • Loading branch information
thesupersonic16 committed Sep 29, 2019
1 parent 8f34b19 commit b93aebb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions DALTools/DALLib/Imaging/TEXConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ public static void Decode(this TEXFile file, Format format, ExtendedBinaryReader
imagePNG.Dispose();
}
}
else if ((format & Format.RGBA) != 0)
{
return;
}
else
{
throw new InvalidTextureFormatException((int)format);
Expand Down

0 comments on commit b93aebb

Please sign in to comment.