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
9bf1fe62
Commit
9bf1fe62
authored
Nov 14, 2005
by
H. Verbeet
Committed by
Alexandre Julliard
Nov 14, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the default value for keylow in DIB_DirectDrawSurface_Blt.
Unset DDBLT_DDFX when lpbltfx is NULL / contains no dwDDFX.
parent
6e20af5d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
surface_dib.c
dlls/ddraw/surface_dib.c
+3
-1
No files found.
dlls/ddraw/surface_dib.c
View file @
9bf1fe62
...
...
@@ -538,6 +538,8 @@ DIB_DirectDrawSurface_Blt(LPDIRECTDRAWSURFACE7 iface, LPRECT rdst,
IDirectDrawSurface7_Lock
(
iface
,
NULL
,
&
ddesc
,
DDLOCK_WRITEONLY
,
0
);
}
if
(
!
lpbltfx
||
!
(
lpbltfx
->
dwDDFX
))
dwFlags
&=
~
DDBLT_DDFX
;
if
((
sdesc
.
u4
.
ddpfPixelFormat
.
dwFlags
&
DDPF_FOURCC
)
&&
(
ddesc
.
u4
.
ddpfPixelFormat
.
dwFlags
&
DDPF_FOURCC
))
{
if
(
sdesc
.
u4
.
ddpfPixelFormat
.
dwFourCC
!=
sdesc
.
u4
.
ddpfPixelFormat
.
dwFourCC
)
{
...
...
@@ -831,7 +833,7 @@ DIB_DirectDrawSurface_Blt(LPDIRECTDRAWSURFACE7 iface, LPRECT rdst,
}
}
else
{
LONG
dstyinc
=
ddesc
.
u1
.
lPitch
,
dstxinc
=
bpp
;
DWORD
keylow
=
0
,
keyhigh
=
0
,
keymask
=
0xFFFFFFFF
;
DWORD
keylow
=
0
xFFFFFFFF
,
keyhigh
=
0
,
keymask
=
0xFFFFFFFF
;
if
(
dwFlags
&
(
DDBLT_KEYSRC
|
DDBLT_KEYDEST
|
DDBLT_KEYSRCOVERRIDE
|
DDBLT_KEYDESTOVERRIDE
))
{
if
(
dwFlags
&
DDBLT_KEYSRC
)
{
...
...
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