Commit 589b48e4 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

wined3d: Remove now useless NULL check (Coverity).

parent 36fee7c2
......@@ -169,8 +169,7 @@ void resource_cleanup(struct wined3d_resource *resource)
resource->allocatedMemory = 0;
resource->heapMemory = 0;
if (resource->device)
device_resource_released(resource->device, resource);
device_resource_released(resource->device, resource);
}
void resource_unload(struct wined3d_resource *resource)
......
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