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
51b9aba9
Commit
51b9aba9
authored
Oct 16, 2015
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 16, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9: Simplify d3d9_device_CheckDeviceState().
Signed-off-by:
Henri Verbeet
<
hverbeet@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
aee692d2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
device.c
dlls/d3d9/device.c
+1
-3
No files found.
dlls/d3d9/device.c
View file @
51b9aba9
...
...
@@ -3287,13 +3287,11 @@ static HRESULT WINAPI d3d9_device_CheckDeviceState(IDirect3DDevice9Ex *iface, HW
{
struct
d3d9_device
*
device
=
impl_from_IDirect3DDevice9Ex
(
iface
);
struct
wined3d_swapchain_desc
swapchain_desc
;
struct
wined3d_swapchain
*
swapchain
;
TRACE
(
"iface %p, dst_window %p.
\n
"
,
iface
,
dst_window
);
wined3d_mutex_lock
();
swapchain
=
wined3d_device_get_swapchain
(
device
->
wined3d_device
,
0
);
wined3d_swapchain_get_desc
(
swapchain
,
&
swapchain_desc
);
wined3d_swapchain_get_desc
(
device
->
implicit_swapchains
[
0
]
->
wined3d_swapchain
,
&
swapchain_desc
);
wined3d_mutex_unlock
();
if
(
swapchain_desc
.
windowed
)
...
...
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