wined3d: If Wine fails to acquire the focus window, allow the wndproc function to continue receiving messages.

John Edmonds pocketcookies2 at gmail.com
Fri Apr 29 18:23:18 CDT 2011


---
 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





More information about the wine-patches mailing list