Fixes for texture refactor

This commit is contained in:
GMatrixGames
2023-06-05 17:39:52 -04:00
parent 6dce30b33f
commit 84f5d4d605
5 changed files with 10 additions and 10 deletions

View File

@@ -228,8 +228,8 @@ public class TabItem : ViewModel
});
}
public void AddImage(UTexture2D texture, bool save, bool updateUi)
=> AddImage(texture.Name, texture.bRenderNearestNeighbor, texture.Decode(UserSettings.Default.OverridedPlatform), save, updateUi);
public void AddImage(UTexture texture, bool save, bool updateUi)
=> AddImage(texture.Name, texture.RenderNearestNeighbor, texture.Decode(UserSettings.Default.OverridedPlatform), save, updateUi);
public void AddImage(string name, bool rnn, SKBitmap[] img, bool save, bool updateUi)
{