wined3d: Remove now useless NULL check (Coverity).
This commit is contained in:
parent
36fee7c2e5
commit
589b48e495
|
@ -169,7 +169,6 @@ void resource_cleanup(struct wined3d_resource *resource)
|
|||
resource->allocatedMemory = 0;
|
||||
resource->heapMemory = 0;
|
||||
|
||||
if (resource->device)
|
||||
device_resource_released(resource->device, resource);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue