wined3d: Remove now useless NULL check (Coverity).

This commit is contained in:
Marcus Meissner 2013-05-25 09:40:54 +02:00 committed by Alexandre Julliard
parent 36fee7c2e5
commit 589b48e495
1 changed files with 1 additions and 2 deletions

View File

@ -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)