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
f103247d
Commit
f103247d
authored
Dec 01, 2014
by
Stefan Dösinger
Committed by
Alexandre Julliard
Dec 02, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add a comment about reset during focus change.
parent
8dd44e28
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
swapchain.c
dlls/wined3d/swapchain.c
+5
-0
No files found.
dlls/wined3d/swapchain.c
View file @
f103247d
...
...
@@ -1176,6 +1176,11 @@ void swapchain_update_draw_bindings(struct wined3d_swapchain *swapchain)
void
wined3d_swapchain_activate
(
struct
wined3d_swapchain
*
swapchain
,
BOOL
activate
)
{
/* This code is not protected by the wined3d mutex, so it may run while
* wined3d_device_reset is active. Testing on Windows shows that changing
* focus during resets and resetting during focus change events causes
* the application to crash with an invalid memory access. */
if
(
activate
)
{
if
(
!
(
swapchain
->
device
->
create_parms
.
flags
&
WINED3DCREATE_NOWINDOWCHANGES
))
...
...
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