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
d0123533
Commit
d0123533
authored
Jul 22, 2009
by
Roderick Colenbrander
Committed by
Alexandre Julliard
Jul 23, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Make BRUSH_DitherColor independent of the screen_depth.
parent
e082bf66
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
brush.c
dlls/winex11.drv/brush.c
+2
-2
No files found.
dlls/winex11.drv/brush.c
View file @
d0123533
...
...
@@ -114,7 +114,7 @@ static Pixmap BRUSH_DitherColor( COLORREF color, int depth)
if
(
!
ditherImage
)
{
ditherImage
=
X11DRV_DIB_CreateXImage
(
MATRIX_SIZE
,
MATRIX_SIZE
,
screen_
depth
);
ditherImage
=
X11DRV_DIB_CreateXImage
(
MATRIX_SIZE
,
MATRIX_SIZE
,
depth
);
if
(
!
ditherImage
)
{
ERR
(
"Could not create dither image
\n
"
);
...
...
@@ -144,7 +144,7 @@ static Pixmap BRUSH_DitherColor( COLORREF color, int depth)
prevColor
=
color
;
}
pixmap
=
XCreatePixmap
(
gdi_display
,
root_window
,
MATRIX_SIZE
,
MATRIX_SIZE
,
screen_
depth
);
pixmap
=
XCreatePixmap
(
gdi_display
,
root_window
,
MATRIX_SIZE
,
MATRIX_SIZE
,
depth
);
XPutImage
(
gdi_display
,
pixmap
,
gc
,
ditherImage
,
0
,
0
,
0
,
0
,
MATRIX_SIZE
,
MATRIX_SIZE
);
wine_tsx11_unlock
();
...
...
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