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
62a92d16
Commit
62a92d16
authored
Feb 06, 2008
by
Stefan Dösinger
Committed by
Alexandre Julliard
Feb 07, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Restore the Window size on reset.
parent
ef411902
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
device.c
dlls/wined3d/device.c
+11
-0
No files found.
dlls/wined3d/device.c
View file @
62a92d16
...
...
@@ -6958,6 +6958,17 @@ static HRESULT WINAPI IWineD3DDeviceImpl_Reset(IWineD3DDevice* iface, WINED3DPRE
IWineD3DDevice_SetFullscreen
(
iface
,
FALSE
);
}
swapchain
->
presentParms
.
Windowed
=
pPresentationParameters
->
Windowed
;
}
else
if
(
!
pPresentationParameters
->
Windowed
)
{
DWORD
style
=
This
->
style
,
exStyle
=
This
->
exStyle
;
/* If we're in fullscreen, and the mode wasn't changed, we have to get the window back into
* the right position. Some applications(Battlefield 2, Guild Wars) move it and then call
* Reset to clear up their mess. Guild Wars also loses the device during that.
*/
This
->
style
=
0
;
This
->
exStyle
=
0
;
IWineD3DDeviceImpl_SetupFullscreenWindow
(
iface
,
This
->
ddraw_window
);
This
->
style
=
style
;
This
->
exStyle
=
exStyle
;
}
/* Recreate the primary swapchain's context */
...
...
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