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
3843d5be
Commit
3843d5be
authored
Aug 16, 2008
by
Michael Karcher
Committed by
Alexandre Julliard
Aug 18, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Fix GetDIBits with monochrome pixmaps.
parent
48b459af
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
bitmap.c
dlls/gdi32/tests/bitmap.c
+0
-1
dib.c
dlls/winex11.drv/dib.c
+1
-1
No files found.
dlls/gdi32/tests/bitmap.c
View file @
3843d5be
...
...
@@ -1552,7 +1552,6 @@ todo_wine
}
/* returned bits are DWORD aligned and upside down */
todo_wine
ok
(
!
memcmp
(
buf
,
dib_bits_24
,
sizeof
(
dib_bits_24
)),
"DIB bits don't match
\n
"
);
DeleteObject
(
hbmp
);
...
...
dlls/winex11.drv/dib.c
View file @
3843d5be
...
...
@@ -4039,7 +4039,7 @@ INT X11DRV_GetDIBits( X11DRV_PDEVICE *physDev, HBITMAP hbitmap, UINT startscan,
bitmap_type
=
DIB_GetBitmapInfo
(
(
BITMAPINFOHEADER
*
)
info
,
&
width
,
&
tempHeight
,
&
descr
.
infoBpp
,
&
descr
.
compression
);
if
(
phys
Dev
->
depth
>
1
)
if
(
phys
Bitmap
->
pixmap_
depth
>
1
)
{
GetPaletteEntries
(
GetCurrentObject
(
physDev
->
hdc
,
OBJ_PAL
),
0
,
256
,
palette
);
}
...
...
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