Commit 89ca7fff authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

wined3d: Remove an unnecessary NULL check.

parent 78b7286e
...@@ -2357,7 +2357,7 @@ HRESULT WINAPI IWineD3DSurfaceImpl_BltOverride(IWineD3DSurfaceImpl *This, RECT * ...@@ -2357,7 +2357,7 @@ HRESULT WINAPI IWineD3DSurfaceImpl_BltOverride(IWineD3DSurfaceImpl *This, RECT *
LEAVE_GL(); LEAVE_GL();
if(!(This->Flags & SFLAG_DONOTFREE)) { 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; This->resource.allocatedMemory = NULL;
} else { } else {
This->Flags |= SFLAG_GLDIRTY; This->Flags |= SFLAG_GLDIRTY;
......
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