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
9e942327
Commit
9e942327
authored
Dec 23, 2014
by
Austin English
Committed by
Alexandre Julliard
Jul 10, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d11: Add a stub for D3D11CreateDeviceAndSwapChain.
parent
b8fc901d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
d3d11.spec
dlls/d3d11/d3d11.spec
+1
-1
d3d11_main.c
dlls/d3d11/d3d11_main.c
+12
-0
No files found.
dlls/d3d11/d3d11.spec
View file @
9e942327
...
...
@@ -3,7 +3,7 @@
@ stub D3D11CoreGetLayeredDeviceSize
@ stub D3D11CoreRegisterLayers
@ stdcall D3D11CreateDevice(ptr long ptr long ptr long long ptr ptr ptr)
@ st
ub D3D11CreateDeviceAndSwapChain
@ st
dcall D3D11CreateDeviceAndSwapChain(ptr long ptr long ptr long long ptr ptr ptr ptr ptr)
@ stub D3DKMTCloseAdapter
@ stub D3DKMTCreateAllocation
@ stub D3DKMTCreateContext
...
...
dlls/d3d11/d3d11_main.c
View file @
9e942327
...
...
@@ -54,3 +54,15 @@ HRESULT WINAPI D3D11CreateDevice(IDXGIAdapter *adapter, D3D_DRIVER_TYPE driver_t
flags
,
feature_levels
,
levels
,
sdk_version
,
device
,
feature_level
,
context
);
return
E_OUTOFMEMORY
;
}
HRESULT
WINAPI
D3D11CreateDeviceAndSwapChain
(
IDXGIAdapter
*
adapter
,
D3D_DRIVER_TYPE
driver_type
,
HMODULE
swrast
,
UINT
flags
,
const
D3D_FEATURE_LEVEL
*
feature_levels
,
UINT
levels
,
UINT
sdk_version
,
const
DXGI_SWAP_CHAIN_DESC
*
swapchain_desc
,
IDXGISwapChain
**
swapchain
,
ID3D11Device
**
device
,
D3D_FEATURE_LEVEL
*
feature_level
,
ID3D11DeviceContext
**
immediate_context
)
{
FIXME
(
"adapter %p, driver_type %s, swrast %p, flags %#x, feature_levels %p, levels %#x, sdk_version %u, "
"swapchain_desc %p, swapchain %p, device %p, feature_level %p, immediate_context %p stub!
\n
"
,
adapter
,
debug_d3d_driver_type
(
driver_type
),
swrast
,
flags
,
feature_levels
,
levels
,
sdk_version
,
swapchain_desc
,
swapchain
,
device
,
feature_level
,
immediate_context
);
return
E_NOTIMPL
;
}
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