Author: cfinck Date: Thu May 15 09:06:19 2008 New Revision: 33528
URL: http://svn.reactos.org/svn/reactos?rev=33528&view=rev Log: 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.
Modified: trunk/rosapps/magnify/magnifier.c
Modified: trunk/rosapps/magnify/magnifier.c URL: http://svn.reactos.org/svn/reactos/trunk/rosapps/magnify/magnifier.c?rev=335... ============================================================================== --- trunk/rosapps/magnify/magnifier.c [iso-8859-1] (original) +++ trunk/rosapps/magnify/magnifier.c [iso-8859-1] Thu May 15 09:06:19 2008 @@ -257,8 +257,9 @@ rop = NOTSRCCOPY; }
+ /* Blast the stretched image from memory DC to window DC.*/ StretchBlt( - HdcStrech, + aDc, 0, 0, AppWidth, @@ -269,18 +270,6 @@ blitAreaWidth, 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);