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
fbfc8df4
Commit
fbfc8df4
authored
Apr 10, 2024
by
Brendan Shanks
Committed by
Alexandre Julliard
Apr 18, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dxgi: Add IDXGISwapChain4 stubs for D3D11.
Microsoft Flight Simulator (2020) requires IDXGISwapChain4.
parent
3c3bfbfd
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
device.c
dlls/dxgi/device.c
+1
-1
dxgi_private.h
dlls/dxgi/dxgi_private.h
+1
-1
swapchain.c
dlls/dxgi/swapchain.c
+0
-0
No files found.
dlls/dxgi/device.c
View file @
fbfc8df4
...
...
@@ -470,7 +470,7 @@ static HRESULT STDMETHODCALLTYPE dxgi_swapchain_factory_create_swapchain(IWineDX
TRACE
(
"Created swapchain %p.
\n
"
,
object
);
*
swapchain
=
(
IDXGISwapChain1
*
)
&
object
->
IDXGISwapChain
3
_iface
;
*
swapchain
=
(
IDXGISwapChain1
*
)
&
object
->
IDXGISwapChain
4
_iface
;
return
S_OK
;
}
...
...
dlls/dxgi/dxgi_private.h
View file @
fbfc8df4
...
...
@@ -172,7 +172,7 @@ struct dxgi_adapter *unsafe_impl_from_IDXGIAdapter(IDXGIAdapter *iface);
/* IDXGISwapChain */
struct
d3d11_swapchain
{
IDXGISwapChain
3
IDXGISwapChain3
_iface
;
IDXGISwapChain
4
IDXGISwapChain4
_iface
;
LONG
refcount
;
struct
wined3d_private_store
private_store
;
struct
wined3d_swapchain
*
wined3d_swapchain
;
...
...
dlls/dxgi/swapchain.c
View file @
fbfc8df4
This diff is collapsed.
Click to expand it.
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