[Bug 1201] Microsoft Golf 99 (Direct3D game) crashes on startup (IDirect3D::EnumDevices needs to return at least two devices for the requested Direct 3D Version 1)
https://bugs.winehq.org/show_bug.cgi?id=1201 Michael Müller <michael(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |michael(a)fds-team.de --- Comment #38 from Michael Müller <michael(a)fds-team.de> --- (In reply to Markus from comment #20)
To make it short: Golf 99 relies on IDirect3D::EnumDevices to return at least two devices for the requested Direct 3D Version 1. Wine IDirect3DImpl_3_EnumDevices only returns Direct3D HAL and so the game cleans up the Direct 3D environment. Nevertheless it will go on and somewhere later it wants to access a surface that is no longer usable.
A solution could be to additionally advertise Wine RGB device for Direct3D Versions less than 7.
I think this very similar to the issue described in https://bugs.winehq.org/show_bug.cgi?id=19153#c23 According to the provided information in the comment, you would get: * Microsoft Direct3D Mono(Ramp) Software Emulation * Microsoft Direct3D RGB Software Emulation * HAL device Returning the RGB device should therefore be correct, but you need to pay attention to not violate any of the other constraints mentioned in the linked comment. -- 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.
participants (1)
-
wine-bugs@winehq.org