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 = setting.FromBitMap(setting.DataBlockOutput, setting);
|
||||||
Texture.Name = Text;
|
Texture.Name = Text;
|
||||||
Load(Texture);
|
Load(Texture);
|
||||||
|
|
||||||
LoadOpenGLTexture();
|
LoadOpenGLTexture();
|
||||||
|
|
||||||
UpdateBfresTextureMapping();
|
UpdateBfresTextureMapping();
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -599,7 +599,8 @@ namespace Switch_Toolbox.Library
|
||||||
{
|
{
|
||||||
if (RenderableTex == null)
|
if (RenderableTex == null)
|
||||||
RenderableTex = new RenderableTex();
|
RenderableTex = new RenderableTex();
|
||||||
|
|
||||||
|
RenderableTex.GLInitialized = false;
|
||||||
RenderableTex.LoadOpenGLTexture(this);
|
RenderableTex.LoadOpenGLTexture(this);
|
||||||
}
|
}
|
||||||
public static bool IsAtscFormat(TEX_FORMAT Format)
|
public static bool IsAtscFormat(TEX_FORMAT Format)
|
||||||
|
|
Loading…
Reference in a new issue