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
d5d8480f
Commit
d5d8480f
authored
Jul 10, 2000
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backed out previous patch.
parent
521c0e4a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
15 deletions
+7
-15
dib.c
graphics/x11drv/dib.c
+7
-15
No files found.
graphics/x11drv/dib.c
View file @
d5d8480f
...
...
@@ -2701,9 +2701,9 @@ int X11DRV_DIB_GetImageBits( const X11DRV_DIB_IMAGEBITS_DESCR *descr )
return
lines
;
}
}
XGetSubImage
(
display
,
descr
->
drawable
,
descr
->
x
Src
,
descr
->
ySrc
,
descr
->
width
,
lines
,
AllPlanes
,
ZPixmap
,
bmpImage
,
descr
->
x
Dest
,
descr
->
yDest
);
XGetSubImage
(
display
,
descr
->
drawable
,
descr
->
x
Dest
,
descr
->
yDest
,
descr
->
width
,
descr
->
height
,
AllPlanes
,
ZPixmap
,
bmpImage
,
descr
->
x
Src
,
descr
->
ySrc
);
/* Transfer the pixels */
switch
(
descr
->
infoBpp
)
...
...
@@ -3013,21 +3013,13 @@ INT X11DRV_DIB_GetDIBits(
descr
.
depth
=
bmp
->
bitmap
.
bmBitsPixel
;
descr
.
drawable
=
(
Pixmap
)
bmp
->
physBitmap
;
descr
.
gc
=
BITMAP_GC
(
bmp
);
descr
.
xSrc
=
0
;
descr
.
ySrc
=
startscan
;
descr
.
xDest
=
0
;
descr
.
yDest
=
0
;
descr
.
width
=
bmp
->
bitmap
.
bmWidth
;
descr
.
height
=
bmp
->
bitmap
.
bmHeight
;
descr
.
colorMap
=
info
->
bmiColors
;
descr
.
xDest
=
0
;
descr
.
yDest
=
0
;
descr
.
xSrc
=
0
;
if
(
descr
.
lines
>
0
)
{
descr
.
ySrc
=
descr
.
height
-
startscan
-
1
;
}
else
{
descr
.
ySrc
=
startscan
;
}
if
(
dib
)
descr
.
useShm
=
(
dib
->
shminfo
.
shmid
!=
-
1
);
...
...
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