wined3d: Use backup swapchain DC for devices created with desktop window.

Henri Verbeet hverbeet at
Mon Sep 3 01:57:25 CDT 2012

On 3 September 2012 00:51, Adam Jakubek <ajakubek at> 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
> 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?

More information about the wine-devel mailing list