Roderick Colenbrander : wined3d: Render to the correct hwnd/hdc.
Module: wine Branch: master Commit: 829cafc65197b0b92549138636de9bd403978818 URL: http://source.winehq.org/git/wine.git/?a=commit;h=829cafc65197b0b92549138636... Author: Roderick Colenbrander <thunderbird2k(a)gmx.net> Date: Wed Oct 3 22:13:30 2007 +0200 wined3d: Render to the correct hwnd/hdc. --- dlls/wined3d/device.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index 082a13f..4f489cf 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -1379,7 +1379,6 @@ static HRESULT WINAPI IWineD3DDeviceImpl_CreateAdditionalSwapChain(IWineD3DDevic object->win_handle = This->createParms.hFocusWindow; } - object->win_handle = GetAncestor(object->win_handle, GA_ROOT); hDc = GetDC(object->win_handle); TRACE("Using hDc %p\n", hDc);
participants (1)
-
Alexandre Julliard