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
0baa4e0b
Commit
0baa4e0b
authored
Aug 22, 2000
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed unnecessary calls to CLIPPING_UpdateGCRegion. Fixed PatBlt to
use DC_GetDCUpdate.
parent
2e765e00
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
9 deletions
+1
-9
bitblt.c
graphics/bitblt.c
+1
-1
bitblt.c
graphics/x11drv/bitblt.c
+0
-8
No files found.
graphics/bitblt.c
View file @
0baa4e0b
...
...
@@ -26,7 +26,7 @@ BOOL16 WINAPI PatBlt16( HDC16 hdc, INT16 left, INT16 top,
BOOL
WINAPI
PatBlt
(
HDC
hdc
,
INT
left
,
INT
top
,
INT
width
,
INT
height
,
DWORD
rop
)
{
DC
*
dc
=
DC_GetDC
Ptr
(
hdc
);
DC
*
dc
=
DC_GetDC
Update
(
hdc
);
BOOL
bRet
=
FALSE
;
if
(
!
dc
)
return
FALSE
;
...
...
graphics/x11drv/bitblt.c
View file @
0baa4e0b
...
...
@@ -1471,8 +1471,6 @@ BOOL X11DRV_PatBlt( DC *dc, INT left, INT top,
params
.
heightSrc
=
0
;
params
.
rop
=
rop
;
if
(
dc
->
w
.
flags
&
DC_DIRTY
)
CLIPPING_UpdateGCRegion
(
dc
);
X11DRV_DIB_UpdateDIBSection
(
dc
,
FALSE
);
EnterCriticalSection
(
&
X11DRV_CritSection
);
result
=
(
BOOL
)
CALL_LARGE_STACK
(
BITBLT_DoStretchBlt
,
&
params
);
...
...
@@ -1507,9 +1505,6 @@ BOOL X11DRV_BitBlt( DC *dcDst, INT xDst, INT yDst,
X11DRV_DIB_UpdateDIBSection
(
dcDst
,
FALSE
);
X11DRV_DIB_UpdateDIBSection
(
dcSrc
,
FALSE
);
if
(
dcDst
->
w
.
flags
&
DC_DIRTY
)
CLIPPING_UpdateGCRegion
(
dcDst
);
if
(
dcSrc
&&
(
dcSrc
->
w
.
flags
&
DC_DIRTY
))
CLIPPING_UpdateGCRegion
(
dcSrc
);
EnterCriticalSection
(
&
X11DRV_CritSection
);
result
=
(
BOOL
)
CALL_LARGE_STACK
(
BITBLT_DoStretchBlt
,
&
params
);
LeaveCriticalSection
(
&
X11DRV_CritSection
);
...
...
@@ -1544,9 +1539,6 @@ BOOL X11DRV_StretchBlt( DC *dcDst, INT xDst, INT yDst,
X11DRV_DIB_UpdateDIBSection
(
dcDst
,
FALSE
);
X11DRV_DIB_UpdateDIBSection
(
dcSrc
,
FALSE
);
if
(
dcDst
->
w
.
flags
&
DC_DIRTY
)
CLIPPING_UpdateGCRegion
(
dcDst
);
if
(
dcSrc
&&
(
dcSrc
->
w
.
flags
&
DC_DIRTY
))
CLIPPING_UpdateGCRegion
(
dcSrc
);
EnterCriticalSection
(
&
X11DRV_CritSection
);
result
=
(
BOOL
)
CALL_LARGE_STACK
(
BITBLT_DoStretchBlt
,
&
params
);
LeaveCriticalSection
(
&
X11DRV_CritSection
);
...
...
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