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
eb27944e
Commit
eb27944e
authored
Apr 29, 2015
by
Henri Verbeet
Committed by
Alexandre Julliard
Apr 30, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dxgi: Initialize auto_restore_display_mode in dxgi_factory_CreateSwapChain() (Valgrind).
parent
ca46914d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
factory.c
dlls/dxgi/factory.c
+1
-0
No files found.
dlls/dxgi/factory.c
View file @
eb27944e
...
...
@@ -229,6 +229,7 @@ static HRESULT STDMETHODCALLTYPE dxgi_factory_CreateSwapChain(IDXGIFactory1 *ifa
wined3d_desc
.
flags
=
0
;
/* WINED3DPRESENTFLAG_DISCARD_DEPTHSTENCIL? */
wined3d_desc
.
refresh_rate
=
dxgi_rational_to_uint
(
&
desc
->
BufferDesc
.
RefreshRate
);
wined3d_desc
.
swap_interval
=
WINED3DPRESENT_INTERVAL_DEFAULT
;
wined3d_desc
.
auto_restore_display_mode
=
TRUE
;
hr
=
IWineDXGIDevice_create_swapchain
(
dxgi_device
,
&
wined3d_desc
,
&
wined3d_swapchain
);
IWineDXGIDevice_Release
(
dxgi_device
);
...
...
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