commit | c8579abb4317459dc47516330bca0001a7bf3a9b | [log] [tgz] |
---|---|---|
author | ocornut <omarcornut@gmail.com> | Sat May 20 14:01:34 2023 +0200 |
committer | ocornut <omarcornut@gmail.com> | Sat May 20 14:01:34 2023 +0200 |
tree | fb258117663657b397e7cf4cd5af3b64b9f3216d | |
parent | 7348e99269c93b975dac3a4f4c68e58ebce078df [diff] |
Examples: DX9: Fix WM_SIZE handling bug introduced in 031e152d2. (#6374)
diff --git a/examples/example_win32_directx9/main.cpp b/examples/example_win32_directx9/main.cpp index 85aadd2..1a66254 100644 --- a/examples/example_win32_directx9/main.cpp +++ b/examples/example_win32_directx9/main.cpp
@@ -99,6 +99,7 @@ { g_d3dpp.BackBufferWidth = g_ResizeWidth; g_d3dpp.BackBufferHeight = g_ResizeHeight; + g_ResizeWidth = g_ResizeHeight = 0; ResetDevice(); }