On 3 September 2012 00:51, Adam Jakubek ajakubek@gmail.com wrote:
Hi,
This patch causes wined3d to use backup swapchain DC when IDirect3DDevice9 is created using the desktop window. Windows allows to create such device as long its type is D3DDEVTYPE_REF or D3DDEVTYPE_NULLREF.
Unpatched Wine will fail in IDirect3D9_CreateDevice method, since it incorrectly uses the X root window.
Relevant d3d test case is included. Patch closes bug #18490.
How is actual rendering to the desktop window supposed to work?