Examples: DX9: Fix WM_SIZE handling bug introduced in 031e152d2. (#6374)

This commit is contained in:
ocornut 2023-05-20 14:01:34 +02:00
parent 7348e99269
commit c8579abb43

View File

@ -99,6 +99,7 @@ int main(int, char**)
{ {
g_d3dpp.BackBufferWidth = g_ResizeWidth; g_d3dpp.BackBufferWidth = g_ResizeWidth;
g_d3dpp.BackBufferHeight = g_ResizeHeight; g_d3dpp.BackBufferHeight = g_ResizeHeight;
g_ResizeWidth = g_ResizeHeight = 0;
ResetDevice(); ResetDevice();
} }