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
edb48a06
Commit
edb48a06
authored
Aug 30, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Allow SetDIBits to use the null driver.
parent
6f066ec1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
dib.c
dlls/gdi32/dib.c
+0
-6
No files found.
dlls/gdi32/dib.c
View file @
edb48a06
...
...
@@ -500,7 +500,6 @@ INT WINAPI SetDIBits( HDC hdc, HBITMAP hbitmap, UINT startscan,
{
DC
*
dc
=
get_dc_ptr
(
hdc
);
BOOL
delete_hdc
=
FALSE
;
PHYSDEV
physdev
;
BITMAPOBJ
*
bitmap
;
char
src_bmibuf
[
FIELD_OFFSET
(
BITMAPINFO
,
bmiColors
[
256
]
)];
BITMAPINFO
*
src_info
=
(
BITMAPINFO
*
)
src_bmibuf
;
...
...
@@ -578,11 +577,6 @@ INT WINAPI SetDIBits( HDC hdc, HBITMAP hbitmap, UINT startscan,
if
(
lines
<
src
.
visrect
.
bottom
)
src
.
visrect
.
bottom
=
lines
;
}
/* Hack to ensure we don't get the nulldrv if the bmp hasn't been selected
into a dc yet */
physdev
=
GET_DC_PHYSDEV
(
dc
,
pCreateBitmap
);
if
(
!
BITMAP_SetOwnerDC
(
hbitmap
,
physdev
))
goto
done
;
funcs
=
get_bitmap_funcs
(
bitmap
);
result
=
lines
;
...
...
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