From 110e1f831ceafc9b9129aa0d97d48f09ef142aa1 Mon Sep 17 00:00:00 2001 From: JayArrowz <49910176+JayArrowz@users.noreply.github.com> Date: Tue, 27 Feb 2024 14:55:35 +0000 Subject: [PATCH] fix: disable mipmaps --- .../Assets/LottiePlugin/Runtime/src/LottieAnimation.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unity/RLottieUnity/Assets/LottiePlugin/Runtime/src/LottieAnimation.cs b/unity/RLottieUnity/Assets/LottiePlugin/Runtime/src/LottieAnimation.cs index 4fc9802..d69daba 100644 --- a/unity/RLottieUnity/Assets/LottiePlugin/Runtime/src/LottieAnimation.cs +++ b/unity/RLottieUnity/Assets/LottiePlugin/Runtime/src/LottieAnimation.cs @@ -109,7 +109,7 @@ private unsafe void CreateRenderDataTexture2DMarshalToNative(uint width, uint he (int)_lottieRenderData.width, (int)_lottieRenderData.height, TextureFormat.BGRA32, - 0, + -1, false); _pixelData = Texture.GetRawTextureData(); _lottieRenderData.buffer = _pixelData.GetUnsafePtr();