wined3d: Use the supplied context in wined3d_device_context_blt().
commitb3b2a5599454d2e8373819271a883981f09ef73c
authorHenri Verbeet <hverbeet@codeweavers.com>
Wed, 12 Oct 2022 12:55:39 +0000 (12 14:55 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 14 Oct 2022 19:52:55 +0000 (14 21:52 +0200)
tree0daa93d307ebd5f75004143069ba1adff6962098
parent00187d64f07e02c438f6a8fcdf4df76ecd2a699a
wined3d: Use the supplied context in wined3d_device_context_blt().

Applications calling wined3d_device_context_resolve_sub_resource() on a
deferred context would instead get this scheduled on the immediate context.
Worse, because the original call was intended for a deferred context, we'd do
this without taking the mutex required for immediate contexts, potentially
corrupting the command stream.
dlls/wined3d/texture.c