Commit 73529787 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

ddraw: Delete the temporarily attached surface.

parent 2416533c
......@@ -1271,7 +1271,10 @@ static void AttachmentTest(void)
ok(hr==DD_OK,"CreateSurface returned: %x\n",hr);
if (SUCCEEDED(IDirectDrawSurface7_AddAttachedSurface(surface1, surface4)))
{
IDirectDrawSurface7_DeleteAttachedSurface(surface1, 0, surface4);
refrast = TRUE;
}
hr = IDirectDrawSurface7_AddAttachedSurface(surface1, surface4); /* Succeeds on refrast */
if (refrast)
......
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