On Tue, 12 Oct 2021 at 14:04, Jan Sikorski jsikorski@codeweavers.com wrote:
dlls/wined3d/buffer.c | 2 ++ dlls/wined3d/cs.c | 2 +- dlls/wined3d/device.c | 2 ++ dlls/wined3d/palette.c | 4 ++++ dlls/wined3d/query.c | 2 ++ dlls/wined3d/sampler.c | 2 ++ dlls/wined3d/state.c | 6 ++++++ dlls/wined3d/texture.c | 7 +++++++ dlls/wined3d/vertexdeclaration.c | 2 ++ dlls/wined3d/view.c | 12 ++++++++++++ 10 files changed, 40 insertions(+), 1 deletion(-)
This does omit a few functions:
- wined3d_decref() - wined3d_shader_decref() - wined3d_stateblock_decref()
That wouldn't necessarily be a problem, but it is something to be aware of. Patch 2/3 in this series removes locking around wined3d_shader_decref() in d3d11 though.