Author: gschneider
Date: Mon Apr 6 22:00:48 2009
New Revision: 40404
URL:
http://svn.reactos.org/svn/reactos?rev=40404&view=rev
Log:
- path.c: Correct purpose header entry
- gradient.c: Use proper debug prints, terminate them with a newline character. Remove
duplicate clipRegion.
Modified:
trunk/reactos/subsystems/win32/win32k/eng/gradient.c
trunk/reactos/subsystems/win32/win32k/objects/path.c
Modified: trunk/reactos/subsystems/win32/win32k/eng/gradient.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/en…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/eng/gradient.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/eng/gradient.c [iso-8859-1] Mon Apr 6 22:00:48
2009
@@ -347,9 +347,9 @@
}
}
- 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 @@
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 @@
}
}
- if (pcoPriv)
- {
- IntEngDeleteClipRegion(pcoPriv);
- }
-
return ret;
}
Modified: trunk/reactos/subsystems/win32/win32k/objects/path.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ob…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/path.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/path.c [iso-8859-1] Mon Apr 6 22:00:48
2009
@@ -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:
*/