Update texture maps properly if edited

This commit is contained in:
KillzXGaming 2019-03-26 18:15:19 -04:00
parent b4c297f572
commit e58e456c1a
8 changed files with 3 additions and 1 deletions

Binary file not shown.

View file

@ -1061,6 +1061,7 @@ namespace FirstPlugin
Texture = setting.FromBitMap(setting.DataBlockOutput, setting);
Texture.Name = Text;
Load(Texture);
LoadOpenGLTexture();
UpdateBfresTextureMapping();

View file

@ -600,6 +600,7 @@ namespace Switch_Toolbox.Library
if (RenderableTex == null)
RenderableTex = new RenderableTex();
RenderableTex.GLInitialized = false;
RenderableTex.LoadOpenGLTexture(this);
}
public static bool IsAtscFormat(TEX_FORMAT Format)