http://bugs.winehq.org/show_bug.cgi?id=18490
--- Comment #26 from naur mig21@pr0n.pl 2012-09-01 11:38:02 CDT --- Created attachment 41548 --> http://bugs.winehq.org/attachment.cgi?id=41548 Use backup DC for D3D devices created using desktop window
One more patch from me. This time I'm switching to a dummy window (swapchain's backup DC) when the desktop window handle is passed to IDirect3D9::CreateDevice.
This solution is much cleaner that my previous patch.
Tested on Napoleon: Total War - no glitches at full details (including SSAO and HDR).