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:
parent
c9b5e2a7c1
commit
93992c760d
|
@ -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 =
|
||||
|
|
Loading…
Reference in New Issue