https://bugs.winehq.org/show_bug.cgi?id=40518
--- Comment #4 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Henri Verbeet from comment #3)
Created attachment 54331 [details] patch
Does the attached patch help? If not, please attach a WINEDEBUG=+d3d log.
The patch indeed fixes the problem.