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
ac2afd08
Commit
ac2afd08
authored
Dec 06, 2010
by
Henri Verbeet
Committed by
Alexandre Julliard
Dec 07, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9/tests: Don't draw undefined data in stream_test().
parent
0a55ec2c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
visual.c
dlls/d3d9/tests/visual.c
+1
-2
No files found.
dlls/d3d9/tests/visual.c
View file @
ac2afd08
...
...
@@ -9306,8 +9306,7 @@ static void stream_test(IDirect3DDevice9 *device)
hr
=
IDirect3DDevice9_SetStreamSource
(
device
,
act
.
strInstance
,
vb3
,
0
,
sizeof
(
instancepos
[
0
]));
ok
(
hr
==
D3D_OK
,
"IDirect3DIndexBuffer9_Unlock failed with %08x (case %i)
\n
"
,
hr
,
i
);
/* don't know if this is right (1*3 and 4*1)*/
hr
=
IDirect3DDevice9_DrawIndexedPrimitive
(
device
,
D3DPT_TRIANGLELIST
,
0
,
0
,
1
*
3
,
0
,
4
*
1
);
hr
=
IDirect3DDevice9_DrawIndexedPrimitive
(
device
,
D3DPT_TRIANGLELIST
,
0
,
0
,
4
,
0
,
2
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice9_DrawIndexedPrimitive failed with %08x (case %i)
\n
"
,
hr
,
i
);
hr
=
IDirect3DDevice9_EndScene
(
device
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice9_EndScene failed with %08x (case %i)
\n
"
,
hr
,
i
);
...
...
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