Commit 0116af37 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Cleanup surfaces only once.

parent a2d10bc2
......@@ -2667,7 +2667,6 @@ ULONG CDECL wined3d_surface_decref(struct wined3d_surface *surface)
if (!refcount)
{
surface_cleanup(surface);
surface->surface_ops->surface_cleanup(surface);
surface->resource.parent_ops->wined3d_object_destroyed(surface->resource.parent);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment