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
c623ffd7
Commit
c623ffd7
authored
Feb 21, 2008
by
Roderick Colenbrander
Committed by
Alexandre Julliard
Feb 22, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Don't flush in GDI RealizePalette without a palette.
parent
ebbc1e78
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
surface_gdi.c
dlls/wined3d/surface_gdi.c
+4
-3
No files found.
dlls/wined3d/surface_gdi.c
View file @
c623ffd7
...
...
@@ -657,10 +657,11 @@ HRESULT WINAPI IWineGDISurfaceImpl_RealizePalette(IWineD3DSurface *iface) {
SetDIBColorTable
(
This
->
hDC
,
0
,
256
,
col
);
}
/* Update the image because of the palette change. Some games like e.g Red Alert
* call SetEntries a lot to implement fading.
/* Update the image because of the palette change. Note that this function is also
* called on a palette removal. In such a case we don't have to update the screen.
* Some games like e.g Red Alert call SetEntries a lot to implement fading.
*/
if
(
This
->
resource
.
usage
&
WINED3DUSAGE_RENDERTARGET
)
if
(
pal
&&
This
->
resource
.
usage
&
WINED3DUSAGE_RENDERTARGET
)
x11_copy_to_screen
(
This
,
NULL
);
return
WINED3D_OK
;
...
...
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