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
2d06703d
Commit
2d06703d
authored
Jan 27, 2014
by
Henri Verbeet
Committed by
Alexandre Julliard
Jan 27, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10: Add D3D10_DRIVER_TYPE_WARP.
parent
7c6ca207
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
+7
-0
d3d10_main.c
dlls/d3d10/d3d10_main.c
+5
-0
utils.c
dlls/d3d10/utils.c
+1
-0
d3d10misc.h
include/d3d10misc.h
+1
-0
No files found.
dlls/d3d10/d3d10_main.c
View file @
2d06703d
...
...
@@ -121,6 +121,11 @@ HRESULT WINAPI D3D10CreateDevice(IDXGIAdapter *adapter, D3D10_DRIVER_TYPE driver
}
break
;
}
default:
FIXME
(
"Unhandled driver type %#x.
\n
"
,
driver_type
);
IDXGIFactory_Release
(
factory
);
return
E_FAIL
;
}
}
...
...
dlls/d3d10/utils.c
View file @
2d06703d
...
...
@@ -34,6 +34,7 @@ const char *debug_d3d10_driver_type(D3D10_DRIVER_TYPE driver_type)
WINE_D3D10_TO_STR
(
D3D10_DRIVER_TYPE_REFERENCE
);
WINE_D3D10_TO_STR
(
D3D10_DRIVER_TYPE_NULL
);
WINE_D3D10_TO_STR
(
D3D10_DRIVER_TYPE_SOFTWARE
);
WINE_D3D10_TO_STR
(
D3D10_DRIVER_TYPE_WARP
);
default:
FIXME
(
"Unrecognized D3D10_DRIVER_TYPE %#x
\n
"
,
driver_type
);
return
"unrecognized"
;
...
...
include/d3d10misc.h
View file @
2d06703d
...
...
@@ -30,6 +30,7 @@ typedef enum D3D10_DRIVER_TYPE {
D3D10_DRIVER_TYPE_REFERENCE
=
1
,
D3D10_DRIVER_TYPE_NULL
=
2
,
D3D10_DRIVER_TYPE_SOFTWARE
=
3
,
D3D10_DRIVER_TYPE_WARP
=
5
,
}
D3D10_DRIVER_TYPE
;
HRESULT
WINAPI
D3D10CreateDevice
(
IDXGIAdapter
*
adapter
,
D3D10_DRIVER_TYPE
driver_type
,
...
...
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