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
0cbf8062
Commit
0cbf8062
authored
Jan 30, 2006
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Jan 30, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x11drv: Fix AlphaBlend read boundaries.
parent
43b27144
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
xrender.c
dlls/x11drv/xrender.c
+3
-3
No files found.
dlls/x11drv/xrender.c
View file @
0cbf8062
...
@@ -1554,14 +1554,14 @@ BOOL X11DRV_AlphaBlend(X11DRV_PDEVICE *devDst, INT xDst, INT yDst, INT widthDst,
...
@@ -1554,14 +1554,14 @@ BOOL X11DRV_AlphaBlend(X11DRV_PDEVICE *devDst, INT xDst, INT yDst, INT widthDst,
top_down
=
TRUE
;
top_down
=
TRUE
;
dstbits
+=
widthSrc
*
(
heightSrc
-
1
)
*
4
;
dstbits
+=
widthSrc
*
(
heightSrc
-
1
)
*
4
;
y2
=
ySrc
;
y2
=
ySrc
;
y
=
y2
+
heightSrc
;
y
=
y2
+
heightSrc
-
1
;
}
}
else
else
{
{
y
=
dib
.
dsBmih
.
biHeight
-
ySrc
-
1
;
y
=
dib
.
dsBmih
.
biHeight
-
ySrc
-
1
;
y2
=
y
-
heightSrc
;
y2
=
y
-
heightSrc
+
1
;
}
}
for
(;
y
>
y2
;
y
--
)
{
for
(;
y
>
=
y2
;
y
--
)
{
memcpy
(
dstbits
,
(
char
*
)
dib
.
dsBm
.
bmBits
+
y
*
dib
.
dsBm
.
bmWidthBytes
+
xSrc
*
4
,
memcpy
(
dstbits
,
(
char
*
)
dib
.
dsBm
.
bmBits
+
y
*
dib
.
dsBm
.
bmWidthBytes
+
xSrc
*
4
,
widthSrc
*
4
);
widthSrc
*
4
);
dstbits
+=
(
top_down
?
-
1
:
1
)
*
widthSrc
*
4
;
dstbits
+=
(
top_down
?
-
1
:
1
)
*
widthSrc
*
4
;
...
...
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