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
869e9caf
Commit
869e9caf
authored
Aug 13, 2004
by
Huw Davies
Committed by
Alexandre Julliard
Aug 13, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
If a device doesn't support device bitmaps, then store the bits on the
gdi side.
parent
d2fc4892
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
13 deletions
+4
-13
bitmap.c
dlls/gdi/bitmap.c
+4
-13
No files found.
dlls/gdi/bitmap.c
View file @
869e9caf
...
...
@@ -265,16 +265,10 @@ LONG WINAPI GetBitmapBits(
hbitmap
,
count
,
bits
,
bmp
->
bitmap
.
bmWidth
,
bmp
->
bitmap
.
bmHeight
,
1
<<
bmp
->
bitmap
.
bmBitsPixel
,
height
);
if
(
bmp
->
funcs
)
if
(
bmp
->
funcs
&&
bmp
->
funcs
->
pGetBitmapBits
)
{
TRACE
(
"Calling device specific BitmapBits
\n
"
);
if
(
bmp
->
funcs
->
pGetBitmapBits
)
ret
=
bmp
->
funcs
->
pGetBitmapBits
(
hbitmap
,
bits
,
count
);
else
{
memset
(
bits
,
0
,
count
);
ret
=
count
;
}
ret
=
bmp
->
funcs
->
pGetBitmapBits
(
hbitmap
,
bits
,
count
);
}
else
{
if
(
!
bmp
->
bitmap
.
bmBits
)
{
...
...
@@ -326,13 +320,10 @@ LONG WINAPI SetBitmapBits(
hbitmap
,
count
,
bits
,
bmp
->
bitmap
.
bmWidth
,
bmp
->
bitmap
.
bmHeight
,
1
<<
bmp
->
bitmap
.
bmBitsPixel
,
height
);
if
(
bmp
->
funcs
)
{
if
(
bmp
->
funcs
&&
bmp
->
funcs
->
pSetBitmapBits
)
{
TRACE
(
"Calling device specific BitmapBits
\n
"
);
if
(
bmp
->
funcs
->
pSetBitmapBits
)
ret
=
bmp
->
funcs
->
pSetBitmapBits
(
hbitmap
,
bits
,
count
);
else
ret
=
0
;
ret
=
bmp
->
funcs
->
pSetBitmapBits
(
hbitmap
,
bits
,
count
);
}
else
{
if
(
!
bmp
->
bitmap
.
bmBits
)
/* Alloc enough for entire bitmap */
...
...
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