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
a80579b2
Commit
a80579b2
authored
Mar 10, 2011
by
Stefan Dösinger
Committed by
Alexandre Julliard
Mar 14, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d8: Destroy the windows after the test.
parent
733f81ef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
device.c
dlls/d3d8/tests/device.c
+9
-3
No files found.
dlls/d3d8/tests/device.c
View file @
a80579b2
...
...
@@ -767,6 +767,7 @@ cleanup:
ok
(
!
refcount
,
"Device has %u references left.
\n
"
,
refcount
);
}
if
(
pD3d
)
IDirect3D8_Release
(
pD3d
);
DestroyWindow
(
hwnd
);
}
static
void
test_states
(
void
)
...
...
@@ -812,6 +813,7 @@ cleanup:
ok
(
!
refcount
,
"Device has %u references left.
\n
"
,
refcount
);
}
if
(
pD3d
)
IDirect3D8_Release
(
pD3d
);
DestroyWindow
(
hwnd
);
}
static
void
test_shader_versions
(
void
)
...
...
@@ -935,7 +937,7 @@ cleanup:
ok
(
!
refcount
,
"Device has %u references left.
\n
"
,
refcount
);
}
if
(
pD3d
)
IDirect3D8_Release
(
pD3d
);
if
(
hwnd
)
DestroyWindow
(
hwnd
);
DestroyWindow
(
hwnd
);
}
static
void
test_shader
(
void
)
...
...
@@ -1184,7 +1186,7 @@ cleanup:
ok
(
!
refcount
,
"Device has %u references left.
\n
"
,
refcount
);
}
if
(
pD3d
)
IDirect3D8_Release
(
pD3d
);
if
(
hwnd
)
DestroyWindow
(
hwnd
);
DestroyWindow
(
hwnd
);
}
static
void
test_limits
(
void
)
...
...
@@ -1250,7 +1252,7 @@ cleanup:
ok
(
!
refcount
,
"Device has %u references left.
\n
"
,
refcount
);
}
if
(
pD3d
)
IDirect3D8_Release
(
pD3d
);
if
(
hwnd
)
DestroyWindow
(
hwnd
);
DestroyWindow
(
hwnd
);
}
static
void
test_lights
(
void
)
...
...
@@ -1325,6 +1327,7 @@ cleanup:
ok
(
!
refcount
,
"Device has %u references left.
\n
"
,
refcount
);
}
if
(
d3d8
)
IDirect3D8_Release
(
d3d8
);
DestroyWindow
(
hwnd
);
}
static
void
test_render_zero_triangles
(
void
)
...
...
@@ -1399,6 +1402,7 @@ cleanup:
ok
(
!
refcount
,
"Device has %u references left.
\n
"
,
refcount
);
}
if
(
d3d8
)
IDirect3D8_Release
(
d3d8
);
DestroyWindow
(
hwnd
);
}
static
void
test_depth_stencil_reset
(
void
)
...
...
@@ -1516,6 +1520,7 @@ cleanup:
ok
(
!
refcount
,
"Device has %u references left.
\n
"
,
refcount
);
}
if
(
d3d8
)
IDirect3D8_Release
(
d3d8
);
DestroyWindow
(
hwnd
);
}
static
HWND
filter_messages
;
...
...
@@ -2109,6 +2114,7 @@ static void test_ApplyStateBlock(void)
IDirect3DDevice8_Release
(
device
);
cleanup:
if
(
d3d8
)
IDirect3D8_Release
(
d3d8
);
DestroyWindow
(
hwnd
);
}
START_TEST
(
device
)
...
...
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