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
998426e6
Commit
998426e6
authored
Dec 20, 2007
by
Stefan Dösinger
Committed by
Alexandre Julliard
Dec 21, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9: Accept D3DDEVTYPE_REF devices in the vertex declaration test.
parent
47a8a6bd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
vertexdeclaration.c
dlls/d3d9/tests/vertexdeclaration.c
+4
-0
No files found.
dlls/d3d9/tests/vertexdeclaration.c
View file @
998426e6
...
@@ -63,9 +63,13 @@ static IDirect3DDevice9 *init_d3d9(void)
...
@@ -63,9 +63,13 @@ static IDirect3DDevice9 *init_d3d9(void)
if
(
FAILED
(
hres
))
if
(
FAILED
(
hres
))
{
{
hres
=
IDirect3D9_CreateDevice
(
d3d9_ptr
,
D3DADAPTER_DEFAULT
,
D3DDEVTYPE_REF
,
NULL
,
D3DCREATE_SOFTWARE_VERTEXPROCESSING
,
&
present_parameters
,
&
device_ptr
);
if
(
FAILED
(
hres
))
{
trace
(
"could not create device, IDirect3D9_CreateDevice returned %#x
\n
"
,
hres
);
trace
(
"could not create device, IDirect3D9_CreateDevice returned %#x
\n
"
,
hres
);
return
NULL
;
return
NULL
;
}
}
}
return
device_ptr
;
return
device_ptr
;
}
}
...
...
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