diff --git a/rosapps/magnify/magnifier.c b/rosapps/magnify/magnifier.c index 7f0600aaca3..b8900ed6d39 100644 --- a/rosapps/magnify/magnifier.c +++ b/rosapps/magnify/magnifier.c @@ -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);