https://bugs.winehq.org/show_bug.cgi?id=39874
--- Comment #3 from Stefan Dösinger stefandoesinger@gmx.at --- Created attachment 53436 --> https://bugs.winehq.org/attachment.cgi?id=53436 d3d8: Don't validate 2D texture lock coordinates.
Can you give this patch a try? Apparently d3d8 validates the rectangle when locking surfaces and cube textures, but not for 2D textures. The entry point (texture::lockrect vs surface::lockrect) doesn't matter.
I have tests that back up the change, but I want to take a look at finding a proper fix for the todo_wine in an existing test that I am adding.