From 1de4f803db2d3dd46676adae62db2067c87ad521 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Tue, 13 Aug 2019 23:38:00 +0200 Subject: [PATCH] Fixed a minor bug --- src/ComputeSharp.Graphics/GraphicsDevice.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ComputeSharp.Graphics/GraphicsDevice.cs b/src/ComputeSharp.Graphics/GraphicsDevice.cs index dc23ecf3..b12bea47 100644 --- a/src/ComputeSharp.Graphics/GraphicsDevice.cs +++ b/src/ComputeSharp.Graphics/GraphicsDevice.cs @@ -148,7 +148,7 @@ namespace ComputeSharp.Graphics fence = NativeComputeFence; fenceValue = NextComputeFenceValue; - NextDirectFenceValue++; + NextComputeFenceValue++; break; case CommandListType.Copy: commandAllocatorPool = CopyAllocatorPool;