From b58d58abaf9cc6e111b04c355a936b5fa983452b Mon Sep 17 00:00:00 2001 From: KillzXGaming Date: Mon, 27 Jul 2020 18:43:10 -0400 Subject: [PATCH] Use byte type for bntx flags --- .../GUI/TextureUI/Importers/BNTX/TextureImporterSettings.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/File_Format_Library/GUI/TextureUI/Importers/BNTX/TextureImporterSettings.cs b/File_Format_Library/GUI/TextureUI/Importers/BNTX/TextureImporterSettings.cs index de127752..b2347b90 100644 --- a/File_Format_Library/GUI/TextureUI/Importers/BNTX/TextureImporterSettings.cs +++ b/File_Format_Library/GUI/TextureUI/Importers/BNTX/TextureImporterSettings.cs @@ -262,7 +262,7 @@ namespace FirstPlugin tex.MipCount = settings.MipCount; tex.Depth = settings.Depth; tex.Dim = settings.Dim; - tex.Flags = settings.Flags; + tex.Flags = (byte)settings.Flags; tex.TileMode = settings.TileMode; tex.textureLayout = settings.TextureLayout; tex.textureLayout2 = settings.TextureLayout2;