[Bug 49395] Multiple Direct2D applications stopped working after upgrade to Wine 5.10 which removed advertising of ID3D10Device interface on d3d11 devices (Altium Designer 20, T-Force Alpha Plus VST2 64bit plugin, MSDN-Direct2D-Demo)
WineHQ Bugzilla
wine-bugs at winehq.org
Thu Jan 7 14:43:56 CST 2021
https://bugs.winehq.org/show_bug.cgi?id=49395
--- Comment #13 from Rémi Bernon <rbernon at codeweavers.com> ---
Created attachment 69096
--> https://bugs.winehq.org/attachment.cgi?id=69096
Fix
I've sent a first series of tests to validate D2D / D3D11 interop, and I've
implemented a fix for this regression, although the changes may be a bit too
large for the code freeze.
It uses D3DDeviceContextState to enable D3D10Device interface on D3D11 device,
with a semi-stub implementation in wined3d to allow interface query again after
SwapDeviceContextState has been called. The state is not actually restored, but
I don't think Wine D2D implementation depends on it, as it does state record /
restore on the D3D10 interface already.
I'm attaching the patch series here, in any case.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list