Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
3ae4889e
Commit
3ae4889e
authored
Apr 14, 2014
by
Henri Verbeet
Committed by
Alexandre Julliard
Apr 14, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9/tests: Get rid of some pointless BeginScene() checks.
parent
c3ee3da5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
8 deletions
+5
-8
device.c
dlls/d3d9/tests/device.c
+5
-8
visual.c
dlls/d3d9/tests/visual.c
+0
-0
No files found.
dlls/d3d9/tests/device.c
View file @
3ae4889e
...
...
@@ -1948,14 +1948,11 @@ static void test_null_stream(void)
ok
(
SUCCEEDED
(
hr
),
"IDirect3DDevice9_SetVertexDeclaration failed (0x%08x)
\n
"
,
hr
);
hr
=
IDirect3DDevice9_BeginScene
(
device
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice9_BeginScene failed (0x%08x)
\n
"
,
hr
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
IDirect3DDevice9_DrawPrimitive
(
device
,
D3DPT_POINTLIST
,
0
,
1
);
ok
(
SUCCEEDED
(
hr
),
"IDirect3DDevice9_DrawPrimitive failed (0x%08x)
\n
"
,
hr
);
hr
=
IDirect3DDevice9_EndScene
(
device
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice9_EndScene failed (0x%08x)
\n
"
,
hr
);
}
ok
(
SUCCEEDED
(
hr
),
"Failed to begin scene, hr %#x.
\n
"
,
hr
);
hr
=
IDirect3DDevice9_DrawPrimitive
(
device
,
D3DPT_POINTLIST
,
0
,
1
);
ok
(
SUCCEEDED
(
hr
),
"Failed to draw, hr %#x.
\n
"
,
hr
);
hr
=
IDirect3DDevice9_EndScene
(
device
);
ok
(
SUCCEEDED
(
hr
),
"Failed to end scene, hr %#x.
\n
"
,
hr
);
IDirect3DDevice9_SetStreamSource
(
device
,
0
,
NULL
,
0
,
0
);
IDirect3DDevice9_SetVertexShader
(
device
,
NULL
);
...
...
dlls/d3d9/tests/visual.c
View file @
3ae4889e
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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