mirror of
https://github.com/reactos/reactos.git
synced 2026-06-21 06:05:59 +08: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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user