http://bugs.winehq.org/show_bug.cgi?id=32092
Lars Eriksen fuddboyapa@netscape.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fuddboyapa@netscape.net
--- Comment #12 from Lars Eriksen fuddboyapa@netscape.net 2012-12-01 06:34:03 CST --- d3d9_device_CreateTexture is called with format D3DFMT_UNKNOWN which is bound to fail. Question is, why does it call this function with an unknown format? I don't see any warnings from the WINED3DFMT <-> D3DFMT conversion functions so i have no idea why it is doing this. Maybe the program calls this function expecting it to fail in a certain way?
I tried returning D3DERR_INVALIDCALL in d3d9_device_CreateTexture if format is unknown but it didn't change anything. It certainly doesn't seem right to me to continue creating the texture if the format is unknown.