wined3d: Render to the correct hwnd/hdc.

This commit is contained in:
Roderick Colenbrander 2007-10-03 22:13:30 +02:00 committed by Alexandre Julliard
parent 4089be2588
commit 829cafc651
1 changed files with 0 additions and 1 deletions

View File

@ -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);