[Bug 5668] Crash in IDirect3DViewportImpl_SetBackground

Wine Bugs wine-bugs at winehq.org
Sun Aug 20 16:15:35 CDT 2006


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





------- Additional Comments From stefandoesinger at gmx.at  2006-20-08 16:15 -------
Some suggestions:

-> Can you check if This->ddraw->d3ddevice is != NULL in that function?
-> Add a NULL check for lpDirect3DDevice3 in 
IDirect3DMaterialImpl_GetHandle(material.c)
return DDERR_INVALIDPARAMS if the device is 0 in any case. I suspect that the 
app calls SetBackground without initializing a device before. It passes a 
random material handle because it can't have one without a device.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list