mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
Carlo Bramini (carlo DOT bramix AT libero DOT it):
- Simplify blitting the screen bitmap to the main window. This also hides a ROS GDI bug, for which I'm going to open a new bug report. See issue #3241 for more details. svn path=/trunk/; revision=33528
This commit is contained in:
parent
571960c0e1
commit
c091afbac7
1 changed files with 2 additions and 13 deletions
|
@ -257,8 +257,9 @@ void Draw(HDC aDc)
|
|||
rop = NOTSRCCOPY;
|
||||
}
|
||||
|
||||
/* Blast the stretched image from memory DC to window DC.*/
|
||||
StretchBlt(
|
||||
HdcStrech,
|
||||
aDc,
|
||||
0,
|
||||
0,
|
||||
AppWidth,
|
||||
|
@ -270,18 +271,6 @@ void Draw(HDC aDc)
|
|||
blitAreaHeight,
|
||||
rop);
|
||||
|
||||
/* Blast the image from memory DC to client DC.*/
|
||||
BitBlt (
|
||||
aDc,
|
||||
0 ,
|
||||
0 ,
|
||||
AppWidth ,
|
||||
AppHeight ,
|
||||
HdcStrech ,
|
||||
0 ,
|
||||
0 ,
|
||||
SRCCOPY);
|
||||
|
||||
/* Cleanup.*/
|
||||
SelectObject (HdcStrech, hOld);
|
||||
DeleteObject (HbmpStrech);
|
||||
|
|
Loading…
Reference in a new issue