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
b7bb7861
Commit
b7bb7861
authored
May 02, 2012
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wing32: Use the correct constant names for CreateDIBSection.
parent
c054d7bc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
wing.c
dlls/wing.dll16/wing.c
+1
-1
wing32.c
dlls/wing32/wing32.c
+1
-1
No files found.
dlls/wing.dll16/wing.c
View file @
b7bb7861
...
@@ -178,7 +178,7 @@ HBITMAP16 WINAPI WinGCreateBitmap16(HDC16 hdc, BITMAPINFO *bmpi, SEGPTR *bits)
...
@@ -178,7 +178,7 @@ HBITMAP16 WINAPI WinGCreateBitmap16(HDC16 hdc, BITMAPINFO *bmpi, SEGPTR *bits)
TRACE
(
"(%d,%p,%p): create %dx%dx%d bitmap
\n
"
,
hdc
,
bmpi
,
bits
,
TRACE
(
"(%d,%p,%p): create %dx%dx%d bitmap
\n
"
,
hdc
,
bmpi
,
bits
,
bmpi
->
bmiHeader
.
biWidth
,
bmpi
->
bmiHeader
.
biHeight
,
bmpi
->
bmiHeader
.
biPlanes
);
bmpi
->
bmiHeader
.
biWidth
,
bmpi
->
bmiHeader
.
biHeight
,
bmpi
->
bmiHeader
.
biPlanes
);
hbitmap
=
CreateDIBSection
(
HDC_32
(
hdc
),
bmpi
,
BI_RGB
,
&
bits32
,
0
,
0
);
hbitmap
=
CreateDIBSection
(
HDC_32
(
hdc
),
bmpi
,
DIB_RGB_COLORS
,
&
bits32
,
0
,
0
);
if
(
hbitmap
)
if
(
hbitmap
)
{
{
SEGPTR
segptr
=
alloc_segptr_bits
(
hbitmap
,
bits32
);
SEGPTR
segptr
=
alloc_segptr_bits
(
hbitmap
,
bits32
);
...
...
dlls/wing32/wing32.c
View file @
b7bb7861
...
@@ -60,7 +60,7 @@ BOOL WINAPI WinGRecommendDIBFormat( BITMAPINFO *bmi )
...
@@ -60,7 +60,7 @@ BOOL WINAPI WinGRecommendDIBFormat( BITMAPINFO *bmi )
*/
*/
HBITMAP
WINAPI
WinGCreateBitmap
(
HDC
hdc
,
BITMAPINFO
*
bmi
,
void
**
bits
)
HBITMAP
WINAPI
WinGCreateBitmap
(
HDC
hdc
,
BITMAPINFO
*
bmi
,
void
**
bits
)
{
{
return
CreateDIBSection
(
hdc
,
bmi
,
0
,
bits
,
0
,
0
);
return
CreateDIBSection
(
hdc
,
bmi
,
DIB_RGB_COLORS
,
bits
,
0
,
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