From 0bafcf17fa502feae09e11ac15d0d80f076f14e3 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Mon, 19 Aug 2019 01:00:59 +0200 Subject: [PATCH] Fixed a small bug --- samples/ComputeSharp.BokehBlur/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); } });