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
13f52454
Commit
13f52454
authored
Aug 13, 2004
by
Huw Davies
Committed by
Alexandre Julliard
Aug 13, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sync with dibsection in SetDIBitsToDevice.
parent
778168c3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
dib.c
dlls/x11drv/dib.c
+7
-0
No files found.
dlls/x11drv/dib.c
View file @
13f52454
...
...
@@ -3637,6 +3637,9 @@ INT X11DRV_SetDIBitsToDevice( X11DRV_PDEVICE *physDev, INT xDest, INT yDest, DWO
if
(
xSrc
+
cx
>=
width
)
cx
=
width
-
xSrc
;
if
(
!
cx
||
!
cy
)
return
lines
;
/* Update the pixmap from the DIB section */
X11DRV_LockDIBSection
(
physDev
,
DIB_Status_GdiMod
,
FALSE
);
X11DRV_SetupGCForText
(
physDev
);
/* To have the correct colors */
wine_tsx11_lock
();
XSetFunction
(
gdi_display
,
physDev
->
gc
,
X11DRV_XROPfunction
[
GetROP2
(
physDev
->
hdc
)
-
1
]);
...
...
@@ -3692,6 +3695,10 @@ INT X11DRV_SetDIBitsToDevice( X11DRV_PDEVICE *physDev, INT xDest, INT yDest, DWO
if
(
descr
.
infoBpp
<=
8
)
HeapFree
(
GetProcessHeap
(),
0
,
descr
.
colorMap
);
/* Update the DIBSection of the pixmap */
X11DRV_UnlockDIBSection
(
physDev
,
TRUE
);
return
result
;
}
...
...
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