diff options
Diffstat (limited to 'base/gxshade.c')
-rw-r--r-- | base/gxshade.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/base/gxshade.c b/base/gxshade.c index 80e3b742..69134fb0 100644 --- a/base/gxshade.c +++ b/base/gxshade.c @@ -87,6 +87,7 @@ shade_next_init(shade_coord_stream_t * cs, cs->is_eod = cs_eod; cs->left = 0; cs->ds_EOF = false; + cs->first_patch = 1; } /* Check for the End-Of-Data state form a stream. */ @@ -365,7 +366,7 @@ top: } if (num_colors <= 32) { /****** WRONG FOR MULTI-PLANE HALFTONES ******/ - num_colors *= pgs->dev_ht->components[0].corder.num_levels; + num_colors *= pgs->dev_ht[HT_OBJTYPE_DEFAULT]->components[0].corder.num_levels; } if (psh->head.type == 2 || psh->head.type == 3) { max_error *= 0.25; @@ -390,7 +391,7 @@ top: return code; } rendering_params.black_point_comp = pgs->blackptcomp; - rendering_params.graphics_type_tag = GS_PATH_TAG; + rendering_params.graphics_type_tag = GS_VECTOR_TAG; rendering_params.override_icc = false; rendering_params.preserve_black = gsBKPRESNOTSPECIFIED; rendering_params.rendering_intent = pgs->renderingintent; |