[Bug 33055] Fishdom 2 crashes during the initial loading stage

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Apr 3 09:30:43 CDT 2013


http://bugs.winehq.org/show_bug.cgi?id=33055

--- Comment #3 from Rico <kgbricola at web.de> 2013-04-03 09:30:43 CDT ---
Created attachment 44075
  --> http://bugs.winehq.org/attachment.cgi?id=44075
dirty workaround

It seems you are allowed to pass junk to SetTexture, as long as you don't draw
all seems to be fine. Well, that of course needs a test. The game goes further
if you disable the assert and return NULL. (log part is not from the same run a
previous log)

// use the freed texture, but don't use it, why would anyone do this?
0009:trace:d3d8:d3d8_device_SetTexture iface 0x147a18, stage 0, texture
0x1e1c08.
0009:fixme:d3d8:unsafe_impl_from_IDirect3DBaseTexture8 stupid app
0009:trace:d3d8:d3d8_device_GetTransform iface 0x147a18, state 0x100, matrix
0x32f390.
0009:trace:d3d8:d3d8_device_MultiplyTransform iface 0x147a18, state 0x100,
matrix 0x32f38c.
0009:trace:d3d8:d3d8_device_MultiplyTransform iface 0x147a18, state 0x100,
matrix 0x32f398.
// set a new one
0009:trace:d3d8:d3d8_device_SetTexture iface 0x147a18, stage 0, texture
0x81a1730.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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