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
7119a6ea
Commit
7119a6ea
authored
Nov 01, 1998
by
Ulrich Weigand
Committed by
Alexandre Julliard
Nov 01, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix: SetDCState did not reset clipping region to empty.
parent
314d968d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
dc.c
objects/dc.c
+4
-1
No files found.
objects/dc.c
View file @
7119a6ea
...
...
@@ -660,10 +660,13 @@ void WINAPI SetDCState( HDC16 hdc, HDC16 hdcs )
{
if
(
!
dc
->
w
.
hClipRgn
)
dc
->
w
.
hClipRgn
=
CreateRectRgn32
(
0
,
0
,
0
,
0
);
CombineRgn32
(
dc
->
w
.
hClipRgn
,
dcs
->
w
.
hClipRgn
,
0
,
RGN_COPY
);
CLIPPING_UpdateGCRegion
(
dc
);
}
else
{
if
(
dc
->
w
.
hClipRgn
)
DeleteObject16
(
dc
->
w
.
hClipRgn
);
dc
->
w
.
hClipRgn
=
0
;
}
CLIPPING_UpdateGCRegion
(
dc
);
SelectObject32
(
hdc
,
dcs
->
w
.
hBitmap
);
SelectObject32
(
hdc
,
dcs
->
w
.
hBrush
);
...
...
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