Rico Schüller : dxgi: Fix IWineD3DSwapChain_GetParent( ) call.
Alexandre Julliard
julliard at winehq.org
Mon Sep 27 11:29:37 CDT 2010
Module: wine
Branch: master
Commit: 4a3da6e1900d380890802b2101b203673e2a963e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4a3da6e1900d380890802b2101b203673e2a963e
Author: Rico Schüller <kgbricola at web.de>
Date: Sun Sep 26 09:47:59 2010 +0200
dxgi: Fix IWineD3DSwapChain_GetParent() call.
---
dlls/dxgi/factory.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/dxgi/factory.c b/dlls/dxgi/factory.c
index fb47364..6b0a681 100644
--- a/dlls/dxgi/factory.c
+++ b/dlls/dxgi/factory.c
@@ -235,7 +235,7 @@ static HRESULT STDMETHODCALLTYPE dxgi_factory_CreateSwapChain(IWineDXGIFactory *
return hr;
}
- swapchain = IWineD3DSwapChain_GetParent(wined3d_swapchain);
+ *swapchain = IWineD3DSwapChain_GetParent(wined3d_swapchain);
IUnknown_Release(wined3d_swapchain);
/* FIXME? The swapchain is created with refcount 1 by the wined3d device,
More information about the wine-cvs
mailing list