- path.c: Correct purpose header entry

- gradient.c: Use proper debug prints, terminate them with a newline character. Remove duplicate clipRegion.

svn path=/trunk/; revision=40404
This commit is contained in:
Gregor Schneider 2009-04-06 18:00:48 +00:00
parent eba06df66c
commit c26c7d7ff5
2 changed files with 4 additions and 10 deletions

View file

@ -347,9 +347,9 @@ IntEngGradientFillTriangle(
}
}
DbgPrint("Triangle: (%i,%i) (%i,%i) (%i,%i)\n", v1->x, v1->y, v2->x, v2->y, v3->x, v3->y);
DPRINT1("Triangle: (%i,%i) (%i,%i) (%i,%i)\n", v1->x, v1->y, v2->x, v2->y, v3->x, v3->y);
/* FIXME: commented out because of an endless loop - fix triangles first */
DbgPrint("FIXME: IntEngGradientFillTriangle is broken");
DPRINT1("FIXME: IntEngGradientFillTriangle is broken\n");
if(!IntEngEnter(&EnterLeave, psoDest, &FillRect, FALSE, &Translate, &psoOutput))
{
@ -476,12 +476,11 @@ EngGradientFill(
IN ULONG ulMode)
{
ULONG i;
CLIPOBJ *pcoPriv = NULL;
BOOL ret = FALSE;
if (!pco)
{
pco = pcoPriv = IntEngCreateClipRegion(0, 0, prclExtents);
pco = IntEngCreateClipRegion(0, 0, prclExtents);
if (!pco)
{
return FALSE;
@ -526,11 +525,6 @@ EngGradientFill(
}
}
if (pcoPriv)
{
IntEngDeleteClipRegion(pcoPriv);
}
return ret;
}

View file

@ -28,7 +28,7 @@
* PROJECT: ReactOS win32 kernel mode subsystem
* LICENSE: GPL - See COPYING in the top level directory
* FILE: subsystems/win32/win32k/objects/path.c
* PURPOSE: Freetype library support
* PURPOSE: Path support
* PROGRAMMER:
*/