wined3d: Remove an unnecessary NULL check.
This commit is contained in:
parent
78b7286eba
commit
89ca7fffd4
|
@ -2357,7 +2357,7 @@ HRESULT WINAPI IWineD3DSurfaceImpl_BltOverride(IWineD3DSurfaceImpl *This, RECT *
|
|||
LEAVE_GL();
|
||||
|
||||
if(!(This->Flags & SFLAG_DONOTFREE)) {
|
||||
if(This->resource.allocatedMemory) HeapFree(GetProcessHeap(), 0, This->resource.allocatedMemory);
|
||||
HeapFree(GetProcessHeap(), 0, This->resource.allocatedMemory);
|
||||
This->resource.allocatedMemory = NULL;
|
||||
} else {
|
||||
This->Flags |= SFLAG_GLDIRTY;
|
||||
|
|
Loading…
Reference in New Issue