d3d8: Don't grab wined3d lock for wined3d_vertex_declaration_decref().

Signed-off-by: Jan Sikorski <jsikorski@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jan Sikorski 2021-10-15 14:26:27 +02:00 committed by Alexandre Julliard
parent c9b5e2a7c1
commit 93992c760d
1 changed files with 0 additions and 2 deletions

View File

@ -319,9 +319,7 @@ void d3d8_vertex_declaration_destroy(struct d3d8_vertex_declaration *declaration
{
TRACE("declaration %p.\n", declaration);
wined3d_mutex_lock();
wined3d_vertex_declaration_decref(declaration->wined3d_vertex_declaration);
wined3d_mutex_unlock();
}
static const struct wined3d_parent_ops d3d8_vertexdeclaration_wined3d_parent_ops =