https://bugs.winehq.org/show_bug.cgi?id=51032
--- Comment #2 from Stefan Dösinger stefan@codeweavers.com --- Did you test if the same issue happens when running the application on Linux? wined3d on windows is generally supposed to work, but it is a configuration we rarely test. The main purpose behind it is as a debugging tool - it allows us to separate d3d from non-d3d issues.
There are a few Windows-specific caveats that Wine doesn't have: WGL allows setting a window's pixel format only once. Wine's WGL has a wine-specific extension for d3d to use here. Furthermore, wglShareLists only works on non-current contexts on Windows. The latter is mostly moot with CSMT=1 (default) because the only reason we'd use two contexts are d3d calls from multiple threads.
I see two debug breakpoints in your output. Are those from attaching the debugger, or is it maybe a sign of a real problem?