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
ed47f259
Commit
ed47f259
authored
Feb 21, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Feb 21, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Don't take the wined3d mutex during WM_DISPLAYCHANGE either.
parent
40b15a38
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ddraw.c
dlls/ddraw/ddraw.c
+2
-0
device.c
dlls/wined3d/device.c
+0
-2
No files found.
dlls/ddraw/ddraw.c
View file @
ed47f259
...
...
@@ -5359,6 +5359,8 @@ static void CDECL device_parent_wined3d_device_created(struct wined3d_device_par
TRACE
(
"device_parent %p, device %p.
\n
"
,
device_parent
,
device
);
}
/* This is run from device_process_message() in wined3d, we can't take the
* wined3d mutex. */
static
void
CDECL
device_parent_mode_changed
(
struct
wined3d_device_parent
*
device_parent
)
{
struct
IDirectDrawImpl
*
ddraw
=
ddraw_from_device_parent
(
device_parent
);
...
...
dlls/wined3d/device.c
View file @
ed47f259
...
...
@@ -5912,9 +5912,7 @@ LRESULT device_process_message(struct wined3d_device *device, HWND window, BOOL
}
else
if
(
message
==
WM_DISPLAYCHANGE
)
{
wined3d_mutex_lock
();
device
->
device_parent
->
ops
->
mode_changed
(
device
->
device_parent
);
wined3d_mutex_unlock
();
}
if
(
unicode
)
...
...
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