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
1f876121
Commit
1f876121
authored
Jun 27, 2009
by
Stefan Dösinger
Committed by
Alexandre Julliard
Jun 29, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Only update the screen when the frontbuffer was changed.
There is no need to copy the frontbuffer to the screen when the backbuffer was modified...
parent
b3f967a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
surface_gdi.c
dlls/wined3d/surface_gdi.c
+8
-2
No files found.
dlls/wined3d/surface_gdi.c
View file @
1f876121
...
...
@@ -199,7 +199,10 @@ IWineGDISurfaceImpl_UnlockRect(IWineD3DSurface *iface)
/* Tell the swapchain to update the screen */
if
(
SUCCEEDED
(
IWineD3DSurface_GetContainer
(
iface
,
&
IID_IWineD3DSwapChain
,
(
void
**
)
&
swapchain
)))
{
x11_copy_to_screen
(
swapchain
,
&
This
->
lockedRect
);
if
(
iface
==
swapchain
->
frontBuffer
)
{
x11_copy_to_screen
(
swapchain
,
&
This
->
lockedRect
);
}
IWineD3DSwapChain_Release
((
IWineD3DSwapChain
*
)
swapchain
);
}
...
...
@@ -490,7 +493,10 @@ static HRESULT WINAPI IWineGDISurfaceImpl_RealizePalette(IWineD3DSurface *iface)
/* Tell the swapchain to update the screen */
if
(
SUCCEEDED
(
IWineD3DSurface_GetContainer
(
iface
,
&
IID_IWineD3DSwapChain
,
(
void
**
)
&
swapchain
)))
{
x11_copy_to_screen
(
swapchain
,
NULL
);
if
(
iface
==
swapchain
->
frontBuffer
)
{
x11_copy_to_screen
(
swapchain
,
NULL
);
}
IWineD3DSwapChain_Release
((
IWineD3DSwapChain
*
)
swapchain
);
}
...
...
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