Author: fireball
Date: Thu Jul 30 21:06:21 2009
New Revision: 42308
URL:
http://svn.reactos.org/svn/reactos?rev=42308&view=rev
Log:
- Use a default MIX value instead of 0.
Modified:
branches/arwinss/reactos/subsystems/win32/win32k/gre/lineto.c
branches/arwinss/reactos/subsystems/win32/win32k/gre/rect.c
Modified: branches/arwinss/reactos/subsystems/win32/win32k/gre/lineto.c
URL:
http://svn.reactos.org/svn/reactos/branches/arwinss/reactos/subsystems/win3…
==============================================================================
--- branches/arwinss/reactos/subsystems/win32/win32k/gre/lineto.c [iso-8859-1] (original)
+++ branches/arwinss/reactos/subsystems/win32/win32k/gre/lineto.c [iso-8859-1] Thu Jul 30
21:06:21 2009
@@ -118,7 +118,7 @@
/* Draw pen-based polygon */
if (!(pDC->pLineBrush->flAttrs & GDIBRUSH_IS_NULL))
{
- Mix = 0;//ROP2_TO_MIX(pdcattr->jROP2);
+ Mix = ROP2_TO_MIX(R2_COPYPEN);/*pdcattr->jROP2*/
for (i=0; i<count-1; i++)
{
bRet = GreLineTo(&pDC->pBitmap->SurfObj,
Modified: branches/arwinss/reactos/subsystems/win32/win32k/gre/rect.c
URL:
http://svn.reactos.org/svn/reactos/branches/arwinss/reactos/subsystems/win3…
==============================================================================
--- branches/arwinss/reactos/subsystems/win32/win32k/gre/rect.c [iso-8859-1] (original)
+++ branches/arwinss/reactos/subsystems/win32/win32k/gre/rect.c [iso-8859-1] Thu Jul 30
21:06:21 2009
@@ -59,7 +59,7 @@
/* Draw pen-based rectangle */
if (!(pDC->pLineBrush->flAttrs & GDIBRUSH_IS_NULL))
{
- Mix = 0;//ROP2_TO_MIX(pdcattr->jROP2);
+ Mix = ROP2_TO_MIX(R2_COPYPEN);/*pdcattr->jROP2*/
GreLineTo(&pDC->pBitmap->SurfObj,
NULL,//dc->rosdc.CombinedClip,
&pDC->pLineBrush->BrushObj,
@@ -129,7 +129,7 @@
/* Draw pen-based polygon */
if (!(pDC->pLineBrush->flAttrs & GDIBRUSH_IS_NULL))
{
- Mix = 0;//ROP2_TO_MIX(pdcattr->jROP2);
+ Mix = ROP2_TO_MIX(R2_COPYPEN);/*pdcattr->jROP2*/
for (i=0; i<count-1; i++)
{
bRet = GreLineTo(&pDC->pBitmap->SurfObj,