diff --git a/Packages/com.unity.postprocessing@3.2.2/PostProcessing/Runtime/Effects/SuperResolution.cs b/Packages/com.unity.postprocessing@3.2.2/PostProcessing/Runtime/Effects/SuperResolution.cs index 0aa4e35..3fd9ad7 100644 --- a/Packages/com.unity.postprocessing@3.2.2/PostProcessing/Runtime/Effects/SuperResolution.cs +++ b/Packages/com.unity.postprocessing@3.2.2/PostProcessing/Runtime/Effects/SuperResolution.cs @@ -31,7 +31,7 @@ namespace UnityEngine.Rendering.PostProcessing [Serializable] public class SuperResolution { - public static Func CallbacksFactory { get; set; } = (context) => new Callbacks(context.resources); + public Func callbacksFactory { get; set; } = (context) => new Callbacks(context.resources); [Tooltip("Standard scaling ratio presets.")] public Fsr2.QualityMode qualityMode = Fsr2.QualityMode.Quality; @@ -213,7 +213,7 @@ namespace UnityEngine.Rendering.PostProcessing if (enableFP16) flags |= Fsr2.InitializationFlags.EnableFP16Usage; if (exposureSource == ExposureSource.Auto) flags |= Fsr2.InitializationFlags.EnableAutoExposure; - _callbacks = CallbacksFactory(context); + _callbacks = callbacksFactory(context); _fsrContext = Fsr2.CreateContext(_displaySize, _renderSize, _callbacks, flags); // Apply a mipmap bias so that textures retain their sharpness