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
f15dcec5
Commit
f15dcec5
authored
Aug 19, 2011
by
Huw Davies
Committed by
Alexandre Julliard
Aug 22, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Sync a dib section's bits before copying the brush.
parent
39f14b68
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
brush.c
dlls/winex11.drv/brush.c
+4
-0
No files found.
dlls/winex11.drv/brush.c
View file @
f15dcec5
...
...
@@ -216,6 +216,8 @@ static BOOL BRUSH_SelectPatternBrush( X11DRV_PDEVICE *physDev, HBITMAP hbitmap )
if
(
!
physBitmap
||
!
GetObjectW
(
hbitmap
,
sizeof
(
bitmap
),
&
bitmap
))
return
FALSE
;
X11DRV_DIB_Lock
(
physBitmap
,
DIB_Status_GdiMod
);
if
((
physDev
->
depth
==
1
)
&&
(
physBitmap
->
pixmap_depth
!=
1
))
{
wine_tsx11_lock
();
...
...
@@ -233,6 +235,8 @@ static BOOL BRUSH_SelectPatternBrush( X11DRV_PDEVICE *physDev, HBITMAP hbitmap )
X11DRV_XRender_CopyBrush
(
physDev
,
physBitmap
,
bitmap
.
bmWidth
,
bitmap
.
bmHeight
);
}
X11DRV_DIB_Unlock
(
physBitmap
,
TRUE
);
if
(
physBitmap
->
pixmap_depth
>
1
)
{
physDev
->
brush
.
fillStyle
=
FillTiled
;
...
...
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