[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-patches
Subject:    wined3d: If Wine fails to acquire the focus window, allow the
From:       John Edmonds <pocketcookies2 () gmail ! com>
Date:       2011-04-29 23:23:18
Message-ID: 1304119398.24897.2.camel () jack-desktop
[Download RAW message or body]

---
 dlls/wined3d/device.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index f2bc93f..a57ce5e 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -6559,6 +6559,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_Reset(IWineD3DDevice *iface,
                 {
                     ERR("Failed to acquire focus window, hr %#x.\n", hr);
                     wined3d_swapchain_decref(swapchain);
+                    This->filter_messages = filter;
                     return hr;
                 }
 
-- 
1.7.1




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic