per-platform texture support

This commit is contained in:
GMatrixGames
2022-01-20 12:13:58 -05:00
parent d8627ebac2
commit 59a952cf54
8 changed files with 84 additions and 33 deletions

View File

@@ -222,7 +222,7 @@ namespace FModel.ViewModels
});
}
public void AddImage(UTexture2D texture) => AddImage(texture.Name, texture.bRenderNearestNeighbor, texture.Decode());
public void AddImage(UTexture2D texture) => AddImage(texture.Name, texture.bRenderNearestNeighbor, texture.Decode(UserSettings.Default.OverridedPlatform));
public void AddImage(string name, bool rnn, SKBitmap[] img)
{
foreach (var i in img) AddImage(name, rnn, i);