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
8d29fa98
Commit
8d29fa98
authored
Oct 23, 1999
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Re-applied lost change.
parent
f959be9c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
dib.c
graphics/x11drv/dib.c
+5
-4
No files found.
graphics/x11drv/dib.c
View file @
8d29fa98
...
...
@@ -2678,9 +2678,9 @@ INT X11DRV_SetDIBitsToDevice( DC *dc, INT xDest, INT yDest, DWORD cx,
case
1
:
case
4
:
case
8
:
descr
.
colorMap
=
(
RGBQUAD
*
)
X11DRV_DIB_BuildColorMap
(
dc
,
coloruse
,
dc
->
w
.
bitsPerPixel
,
info
,
&
descr
.
nColorMap
);
descr
.
colorMap
=
(
RGBQUAD
*
)
X11DRV_DIB_BuildColorMap
(
coloruse
==
DIB_PAL_COLORS
?
dc
:
NULL
,
coloruse
,
dc
->
w
.
bitsPerPixel
,
info
,
&
descr
.
nColorMap
);
if
(
!
descr
.
colorMap
)
return
0
;
descr
.
rMask
=
descr
.
gMask
=
descr
.
bMask
=
0
;
break
;
...
...
@@ -2764,7 +2764,8 @@ INT X11DRV_DIB_SetDIBits(
case
1
:
case
4
:
case
8
:
descr
.
colorMap
=
(
RGBQUAD
*
)
X11DRV_DIB_BuildColorMap
(
descr
.
dc
,
coloruse
,
descr
.
colorMap
=
(
RGBQUAD
*
)
X11DRV_DIB_BuildColorMap
(
coloruse
==
DIB_PAL_COLORS
?
descr
.
dc
:
NULL
,
coloruse
,
bmp
->
bitmap
.
bmBitsPixel
,
info
,
&
descr
.
nColorMap
);
if
(
!
descr
.
colorMap
)
return
0
;
...
...
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