[d3d9] Filter window messages when processing WM_ACTIVATEAPP.

This commit is contained in:
Paul Gofman 2022-04-06 17:40:21 +03:00 committed by Joshie
parent ce87bec412
commit b0ed9e30ce
1 changed files with 1 additions and 0 deletions

View File

@ -128,6 +128,7 @@ namespace dxvk {
windowData.swapchain->GetDevice()->GetCreationParameters(&create_parms);
if (!(create_parms.BehaviorFlags & D3DCREATE_NOWINDOWCHANGES)) {
D3D9WindowMessageFilter filter(window);
if (wparam) {
// Heroes of Might and Magic V needs this to resume drawing after a focus loss
D3DPRESENT_PARAMETERS params;