mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-22 12:33:12 +00:00
Update texture maps properly if edited
This commit is contained in:
parent
b4c297f572
commit
e58e456c1a
8 changed files with 3 additions and 1 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1061,6 +1061,7 @@ namespace FirstPlugin
|
|||
Texture = setting.FromBitMap(setting.DataBlockOutput, setting);
|
||||
Texture.Name = Text;
|
||||
Load(Texture);
|
||||
|
||||
LoadOpenGLTexture();
|
||||
|
||||
UpdateBfresTextureMapping();
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue