Commit 829cafc6 authored by Roderick Colenbrander's avatar Roderick Colenbrander Committed by Alexandre Julliard

wined3d: Render to the correct hwnd/hdc.

parent 4089be25
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment