May 14, 2026
7:18 a.m.
On Wed May 13 14:49:08 2026 +0000, Conor McCarthy wrote:
d3d9 is a bit different. It allows 16-bit for windowed devices, and doesn't allow the lockable flag. I haven't found any code in wined3d which checks for d3d8 vs d3d9. Is there an established way to do that and should it be done at all? The d3d10 module has very few tests, so I haven't tested it in d3d10. Rebased, and moved the implementation over to wined3d by adding a swapchain flag, but I'm not sure if that's the preferred way. I added d3d9 tests, and removed the d3d8 fullscreen tests because 16-bit modes are not available in Windows, so they all fail for that reason.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10874#note_139797