diff --git a/JotunnLib/Utils/ShaderHelper.cs b/JotunnLib/Utils/ShaderHelper.cs index 4376d745b..2b810b6f6 100644 --- a/JotunnLib/Utils/ShaderHelper.cs +++ b/JotunnLib/Utils/ShaderHelper.cs @@ -95,7 +95,7 @@ public static void ScaleTexture(Texture2D texture, int width) copyTexture.Apply(); int height = (int)Math.Round((float)width * texture.height / texture.width); - texture.Resize(width, height); + texture.Reinitialize(width, height); texture.Apply(); Color[] rpixels = texture.GetPixels(0);