From 02d2a9928481d2365a1fa61349cf12a47dbb84b8 Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Fri, 26 Jul 2024 00:39:09 +0200 Subject: [PATCH] Update comp-swapchain-examples.md --- desktop-src/comp_swapchain/comp-swapchain-examples.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop-src/comp_swapchain/comp-swapchain-examples.md b/desktop-src/comp_swapchain/comp-swapchain-examples.md index 9f8284721ab..d42858f46f7 100644 --- a/desktop-src/comp_swapchain/comp-swapchain-examples.md +++ b/desktop-src/comp_swapchain/comp-swapchain-examples.md @@ -1818,7 +1818,7 @@ void DXGIOrPresentationAPIExample() // Present 50 times. constexpr UINT numPresents = 50; - for (UINT i = 0; i < 50; i++) + for (UINT i = 0; i < numPresents; i++) { // Advance our present time 1/10th of a second in the future. presentTime.value += 1'000'000;