Author: fireball Date: Thu Aug 6 22:29:46 2009 New Revision: 42437
URL: http://svn.reactos.org/svn/reactos?rev=42437&view=rev Log: - Remove unneeded and wrong LPtoDP translation in kernelmode graphics engine.
Modified: branches/arwinss/reactos/subsystems/win32/win32k/gre/bitblt.c
Modified: branches/arwinss/reactos/subsystems/win32/win32k/gre/bitblt.c URL: http://svn.reactos.org/svn/reactos/branches/arwinss/reactos/subsystems/win32... ============================================================================== --- branches/arwinss/reactos/subsystems/win32/win32k/gre/bitblt.c [iso-8859-1] (original) +++ branches/arwinss/reactos/subsystems/win32/win32k/gre/bitblt.c [iso-8859-1] Thu Aug 6 22:29:46 2009 @@ -166,8 +166,6 @@ DestRect.top = YDest; DestRect.right = XDest+Width; DestRect.bottom = YDest+Height; - // FIXME: LP->DP missing! - //IntLPtoDP(pDest, (LPPOINT)&DestRect, 2);
DestRect.left += pDest->rcVport.left + pDest->rcDcRect.left; DestRect.top += pDest->rcVport.top + pDest->rcDcRect.top; @@ -316,7 +314,6 @@ DestRect.top = YOriginDest; DestRect.right = XOriginDest+WidthDest; DestRect.bottom = YOriginDest+HeightDest; - IntLPtoDP(DCDest, (LPPOINT)&DestRect, 2); // FIXME: Why?
DestRect.left += DCDest->rcVport.left + DCDest->rcDcRect.left; DestRect.top += DCDest->rcVport.top + DCDest->rcDcRect.top; @@ -330,8 +327,6 @@
if (UsesSource) { - IntLPtoDP(DCSrc, (LPPOINT)&SourceRect, 2); - SourceRect.left += DCSrc->rcVport.left + DCSrc->rcDcRect.left; SourceRect.top += DCSrc->rcVport.top + DCSrc->rcDcRect.top; SourceRect.right += DCSrc->rcVport.left + DCSrc->rcDcRect.left;