https://bugs.winehq.org/show_bug.cgi?id=46579 --- Comment #6 from Matteo Bruni <matteo.mystral(a)gmail.com> --- (In reply to Paul Gofman from comment #4)
Do you mean D3DFMT_A8B8G8R8 (0x20, dec 32) by any chance?
No, I mean D3DFMT_A8R8G8B8. The important point is that it's the ADAPTER format here that's "wrong" (i.e. third parameter of CheckDeviceFormat(), not the last one), only a few adapter formats are supported by d3d9. (In reply to Józef Kucia from comment #5)
We could possibly filter supported formats based on the device feature level (wined3d_device->feature_level).
I think it's not necessary here, simply fixing CheckDeviceFormat() in d3d9 is okay for this bug. The only adapter formats (potentially) supported are D3DFMT_X8R8G8B8, D3DFMT_R5G6B5, D3DFMT_X1R5G5B5 and D3DFMT_A2R10G10B10, we already have some tests for that. -- 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.