summaryrefslogtreecommitdiff
path: root/win-resize-mt
diff options
context:
space:
mode:
authorHunter Kvalevog <hunter@kvog.sh>2026-05-21 22:20:17 -0500
committerHunter Kvalevog <hunter@kvog.sh>2026-05-21 22:20:17 -0500
commitb1f6b7d35b8f072f5c379518bc23b186890765b8 (patch)
tree88fca9dba6b1507be5019cc3152ca2ebc49b3cc7 /win-resize-mt
parent89f249315ff6d17c5242ed1e3ce47deea0180fe8 (diff)
Diffstat (limited to 'win-resize-mt')
-rw-r--r--win-resize-mt/win-resize-mt.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/win-resize-mt/win-resize-mt.c b/win-resize-mt/win-resize-mt.c
index 2f9dd4e..272be77 100644
--- a/win-resize-mt/win-resize-mt.c
+++ b/win-resize-mt/win-resize-mt.c
@@ -1,8 +1,11 @@
// ================================================================================================
// Example of how to draw while resizing / moving a window on Windows in C.
//
-// This demo uses a dedicated render thread with basic synchronization with the event loop. There
-// is a single-threaded version called win-resize/ if that's more your style.
+// Window contents are rendered via GDI, but the behavior is the same no matter what graphics API
+// you use. The original version of this demo (on old-20260427 branch) used D3D11.
+//
+// This demo uses a multiple threads. There's a multi threaded version called win-resize-mt if
+// that's more your style.
//
// Build (MSVC):
// > cl /W4 /Od /Zi win-resize-mt.c /Fe:win-resize-mt.exe
@@ -10,7 +13,7 @@
// $ cc -o win-resize-mt.exe -Wall -Wextra -Wpedantic -O0 -g win-resize-mt.c -ldwmapi -lgdi32
//
// Changelog:
-// XX/XX/XXXX: Initial release
+// 5/21/2026: Initial release
//
// License:
// Copyright (c) 2026 Hunter Kvalevog