mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-11-29 10:24:10 +01:00
[d3d9] Filter window messages when processing WM_ACTIVATEAPP.
This commit is contained in:
parent
ce87bec412
commit
b0ed9e30ce
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user