From e063086601cd7e04957bfcb6e8a985ca85ba8865 Mon Sep 17 00:00:00 2001 From: KillzXGaming Date: Sat, 29 Oct 2022 12:48:18 -0400 Subject: [PATCH] Fix formatting --- File_Format_Library/FileFormats/Texture/GTXFile.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/File_Format_Library/FileFormats/Texture/GTXFile.cs b/File_Format_Library/FileFormats/Texture/GTXFile.cs index dd204297..9a939bea 100644 --- a/File_Format_Library/FileFormats/Texture/GTXFile.cs +++ b/File_Format_Library/FileFormats/Texture/GTXFile.cs @@ -719,7 +719,7 @@ namespace FirstPlugin public override void Replace(string FileName) { FTEX ftex = new FTEX(); - ftex.ReplaceTexture(FileName, Format, surface.mipSize <= 1 ? 1 : 0); + ftex.ReplaceTexture(FileName, Format, (uint)(surface.mipSize <= 1 ? 1 : 0)); if (ftex.texture != null) { surface.swizzle = ftex.texture.Swizzle;