Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
98bd3ef8
Commit
98bd3ef8
authored
Feb 02, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Feb 05, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw/tests: Use correct COM macros in a couple of places.
parent
4d515c07
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
12 deletions
+12
-12
ddraw1.c
dlls/ddraw/tests/ddraw1.c
+7
-7
ddraw2.c
dlls/ddraw/tests/ddraw2.c
+3
-3
ddraw4.c
dlls/ddraw/tests/ddraw4.c
+2
-2
No files found.
dlls/ddraw/tests/ddraw1.c
View file @
98bd3ef8
...
...
@@ -784,15 +784,15 @@ static void test_surface_interface_mismatch(void)
cleanup:
if
(
viewport
)
{
IDirect3DDevice
2
_DeleteViewport
(
device
,
viewport
);
IDirect3DViewport
2
_Release
(
viewport
);
IDirect3DDevice_DeleteViewport
(
device
,
viewport
);
IDirect3DViewport_Release
(
viewport
);
}
if
(
background
)
IDirect3DMaterial
2
_Release
(
background
);
if
(
background
)
IDirect3DMaterial_Release
(
background
);
if
(
surface3
)
IDirectDrawSurface3_Release
(
surface3
);
if
(
surface
)
IDirectDrawSurface
7
_Release
(
surface
);
if
(
device
)
IDirect3DDevice
2
_Release
(
device
);
if
(
d3d
)
IDirect3D
7
_Release
(
d3d
);
if
(
ddraw
)
IDirectDraw
7
_Release
(
ddraw
);
if
(
surface
)
IDirectDrawSurface_Release
(
surface
);
if
(
device
)
IDirect3DDevice_Release
(
device
);
if
(
d3d
)
IDirect3D_Release
(
d3d
);
if
(
ddraw
)
IDirectDraw_Release
(
ddraw
);
DestroyWindow
(
window
);
}
...
...
dlls/ddraw/tests/ddraw2.c
View file @
98bd3ef8
...
...
@@ -814,10 +814,10 @@ cleanup:
}
if
(
background
)
IDirect3DMaterial2_Release
(
background
);
if
(
surface3
)
IDirectDrawSurface3_Release
(
surface3
);
if
(
surface
)
IDirectDrawSurface
7
_Release
(
surface
);
if
(
surface
)
IDirectDrawSurface_Release
(
surface
);
if
(
device
)
IDirect3DDevice2_Release
(
device
);
if
(
d3d
)
IDirect3D
7
_Release
(
d3d
);
if
(
ddraw
)
IDirectDraw
7
_Release
(
ddraw
);
if
(
d3d
)
IDirect3D
2
_Release
(
d3d
);
if
(
ddraw
)
IDirectDraw
2
_Release
(
ddraw
);
DestroyWindow
(
window
);
}
...
...
dlls/ddraw/tests/ddraw4.c
View file @
98bd3ef8
...
...
@@ -976,8 +976,8 @@ static void test_surface_interface_mismatch(void)
cleanup:
if
(
viewport
)
{
IDirect3DDevice
2
_DeleteViewport
(
device
,
viewport
);
IDirect3DViewport
2
_Release
(
viewport
);
IDirect3DDevice
3
_DeleteViewport
(
device
,
viewport
);
IDirect3DViewport
3
_Release
(
viewport
);
}
if
(
surface3
)
IDirectDrawSurface3_Release
(
surface3
);
if
(
surface
)
IDirectDrawSurface4_Release
(
surface
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment