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
a1d66596
Commit
a1d66596
authored
Apr 16, 2005
by
Richard Cohen
Committed by
Alexandre Julliard
Apr 16, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CreateBitmap16 should use only the first byte of planes & bpp.
parent
a9d5de84
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
gdi16.c
dlls/gdi/gdi16.c
+1
-1
No files found.
dlls/gdi/gdi16.c
View file @
a1d66596
...
...
@@ -797,7 +797,7 @@ INT16 WINAPI CombineRgn16(HRGN16 hDest, HRGN16 hSrc1, HRGN16 hSrc2, INT16 mode)
HBITMAP16
WINAPI
CreateBitmap16
(
INT16
width
,
INT16
height
,
UINT16
planes
,
UINT16
bpp
,
LPCVOID
bits
)
{
return
HBITMAP_16
(
CreateBitmap
(
width
,
height
,
planes
,
bpp
,
bits
)
);
return
HBITMAP_16
(
CreateBitmap
(
width
,
height
,
planes
&
0xff
,
bpp
&
0xff
,
bits
)
);
}
...
...
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