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
22b58908
Commit
22b58908
authored
Nov 11, 2006
by
H. Verbeet
Committed by
Alexandre Julliard
Nov 13, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: The y coordinate should be offset agaist the height, not the width.
parent
ac28398d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
bitblt.c
dlls/winex11.drv/bitblt.c
+2
-2
No files found.
dlls/winex11.drv/bitblt.c
View file @
22b58908
...
@@ -1612,7 +1612,7 @@ static BOOL X11DRV_ClientSideDIBCopy( X11DRV_PDEVICE *physDevSrc, INT xSrc, INT
...
@@ -1612,7 +1612,7 @@ static BOOL X11DRV_ClientSideDIBCopy( X11DRV_PDEVICE *physDevSrc, INT xSrc, INT
}
}
else
else
{
{
srcPtr
=
&
physDevSrc
->
bitmap
->
base
[(
srcDib
.
dsBm
.
bm
Width
-
ySrc
-
1
)
*
srcDib
.
dsBm
.
bmWidthBytes
srcPtr
=
&
physDevSrc
->
bitmap
->
base
[(
srcDib
.
dsBm
.
bm
Height
-
ySrc
-
1
)
*
srcDib
.
dsBm
.
bmWidthBytes
+
xSrc
*
bytesPerPixel
];
+
xSrc
*
bytesPerPixel
];
srcRowOffset
=
-
srcDib
.
dsBm
.
bmWidthBytes
;
srcRowOffset
=
-
srcDib
.
dsBm
.
bmWidthBytes
;
}
}
...
@@ -1623,7 +1623,7 @@ static BOOL X11DRV_ClientSideDIBCopy( X11DRV_PDEVICE *physDevSrc, INT xSrc, INT
...
@@ -1623,7 +1623,7 @@ static BOOL X11DRV_ClientSideDIBCopy( X11DRV_PDEVICE *physDevSrc, INT xSrc, INT
}
}
else
else
{
{
dstPtr
=
&
physDevDst
->
bitmap
->
base
[(
dstDib
.
dsBm
.
bm
Width
-
yDst
-
1
)
*
dstDib
.
dsBm
.
bmWidthBytes
dstPtr
=
&
physDevDst
->
bitmap
->
base
[(
dstDib
.
dsBm
.
bm
Height
-
yDst
-
1
)
*
dstDib
.
dsBm
.
bmWidthBytes
+
xDst
*
bytesPerPixel
];
+
xDst
*
bytesPerPixel
];
dstRowOffset
=
-
dstDib
.
dsBm
.
bmWidthBytes
;
dstRowOffset
=
-
dstDib
.
dsBm
.
bmWidthBytes
;
}
}
...
...
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