[gs-cvs] rev 8133 - trunk/gs/src
leonardo at ghostscript.com
leonardo at ghostscript.com
Mon Jul 16 14:35:49 PDT 2007
Author: leonardo
Date: 2007-07-16 14:35:48 -0700 (Mon, 16 Jul 2007)
New Revision: 8133
Modified:
trunk/gs/src/gxclrect.c
Log:
Banding : Extend clist language with trapezoids, linear color trapezoids and linear color triangles (continued 6).
DETAILS :
This fixes (some) gcc warnings in the recently added code.
EXPECTED DIFFERENCES :
None.
Modified: trunk/gs/src/gxclrect.c
===================================================================
--- trunk/gs/src/gxclrect.c 2007-07-16 21:24:42 UTC (rev 8132)
+++ trunk/gs/src/gxclrect.c 2007-07-16 21:35:48 UTC (rev 8133)
@@ -211,9 +211,9 @@
cmd_putw(ybot, dp);
cmd_putw(ytop, dp);
cmd_putw(options, dp);
- if_debug6('L', " t%d:%d,%d,%d,%d %d\n",
+ if_debug6('L', " t%ld:%ld,%ld,%ld,%ld %ld\n",
rcsize - 1, left->start.x, left->start.y, left->end.x, left->end.y, ybot);
- if_debug6('L', " t%d,%d,%d,%d %d o=%d\n",
+ if_debug6('L', " t%ld,%ld,%ld,%ld %ld o=%d\n",
right->start.x, right->start.y, right->end.x, right->end.y, ytop, options);
if (options & 2) {
cmd_putw(fa->clip->p.x, dp);
@@ -343,8 +343,6 @@
} else
code = 0;
if (code >= 0) {
- byte *dp;
-
/* Dont't want to shorten the trapezoid by the band boundary,
keeping in mind a further optimization with writing same data to all bands. */
code = cmd_write_trapezoid_cmd(cdev, re.pcls, cmd_opv_fill_trapezoid, left, right,
More information about the gs-cvs
mailing list