From 5c9859fe2174fb4eeab6cf20bf09d8396e2ce129 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Mon, 15 Aug 2022 13:21:26 +0200 Subject: [PATCH] Clarify comment in D2D1ResourceTextureManager --- .../Shaders/Interop/D2D1ResourceTextureManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ResourceTextureManager.cs b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ResourceTextureManager.cs index ddfb7ee1..85b2f843 100644 --- a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ResourceTextureManager.cs +++ b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1ResourceTextureManager.cs @@ -465,7 +465,7 @@ public sealed unsafe class D2D1ResourceTextureManager : ICustomQueryInterface { int dimensions = strides.Length + 1; - // Same validation as the overload above + // Same validation as in the Update instance method above if (pMinimumExtents is not null && pMaximumExtents is not null && (minimumExtents.Length != dimensions || maximimumExtents.Length != dimensions))