add support for DDSD_LPSURFACE and DDSD_PITCH
This commit is contained in:
parent
f39e3fcddb
commit
edf69fcc2a
3 changed files with 11 additions and 3 deletions
|
@ -85,7 +85,7 @@ ULONG __stdcall IDirectDrawSurface__Release(IDirectDrawSurfaceImpl* This)
|
|||
{
|
||||
DeleteObject(This->bitmap);
|
||||
}
|
||||
else if (This->surface)
|
||||
else if (This->surface && !This->custom_surface)
|
||||
{
|
||||
HeapFree(GetProcessHeap(), 0, This->surface);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue