diff --git a/samples/ComputeSharp.BokehBlur/Program.cs b/samples/ComputeSharp.BokehBlur/Program.cs index 7b13da22..1fde59e2 100644 --- a/samples/ComputeSharp.BokehBlur/Program.cs +++ b/samples/ComputeSharp.BokehBlur/Program.cs @@ -19,7 +19,7 @@ namespace ComputeSharp.BokehBlur /// /// The radius of the bokeh blur effect to apply /// - private const int Radius = 12; + private const int Radius = 32; static void Main() { @@ -40,7 +40,7 @@ namespace ComputeSharp.BokehBlur for (int j = 0; j < width; j++) { - Unsafe.Add(ref r4, j) = Unsafe.Add(ref rPixel, i).ToVector4(); + Unsafe.Add(ref r4, j) = Unsafe.Add(ref rPixel, j).ToVector4(); } });