March 20, 2024
9:29 p.m.
On Tue Mar 19 00:54:24 2024 +0000, Paul Gofman wrote:
Oh yeah, the state object is copied from ddraw and not created. Yes, state objects should be created per device. Re the question if state shouldn't be specific to a d3d device: Yes, I guess in theory, but I have never seen an application try to create two IDirect3DDevices for the same IDirectDraw object.
Knowing how easy it is to crash your process or even BSOD Windows with doing a lot less weird ddraw things, I decided to ignore the problem until we find an app that actually tries to do this kind of thing. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5329#note_65539