X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fdevices%2Fpolyops.c;h=de035339a5dbd6cbb6f4abe160ac5f2ee194eb40;hb=7fb4a4ac393f19a0b8a8998a2f1deac88c97eda0;hp=fea200b7b27402d1eecedb375076ed2494a721fe;hpb=5c336b4f7017fb121fc2cbe2a02c1fa56986b560;p=swftools.git diff --git a/lib/devices/polyops.c b/lib/devices/polyops.c index fea200b..de03533 100644 --- a/lib/devices/polyops.c +++ b/lib/devices/polyops.c @@ -105,7 +105,11 @@ void polyops_startclip(struct _gfxdevice*dev, gfxline_t*line) a gfxline into a gfxpoly- for polygons which are too complex or just degenerate, this might fail. So handle all the cases where polygon conversion or intersection - might go awry */ + might go awry + UPDATE: this is not needed anymore. The new gfxpoly + implementation is stable enough so it always returns + a valid result. Still, it's good practice. + */ if(!poly && !oldclip) { i->out->startclip(i->out,line); currentclip = 0;