James Hawkins : ddraw: Delete the temporarily attached surface.
Alexandre Julliard
julliard at winehq.org
Mon Jun 2 07:24:24 CDT 2008
Module: wine
Branch: master
Commit: 735297871364007cf7e6a2a74209b8b2164611a4
URL: http://source.winehq.org/git/wine.git/?a=commit;h=735297871364007cf7e6a2a74209b8b2164611a4
Author: James Hawkins <jhawkins at codeweavers.com>
Date: Sat May 31 16:19:29 2008 -0500
ddraw: Delete the temporarily attached surface.
---
dlls/ddraw/tests/dsurface.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/ddraw/tests/dsurface.c b/dlls/ddraw/tests/dsurface.c
index 42c23a4..342b88a 100644
--- a/dlls/ddraw/tests/dsurface.c
+++ b/dlls/ddraw/tests/dsurface.c
@@ -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)
More information about the wine-cvs
mailing list