1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-01 16:24:12 +01:00

[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

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;