Skip to content

Commit

Permalink
no need for conditional compile
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Feb 19, 2022
1 parent 893aea3 commit 57be678
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions MagickCore/draw.c
Expand Up @@ -5016,7 +5016,6 @@ static MagickBooleanType DrawPolygonPrimitive(Image *image,
poly_extent.y1=CastDoubleToLong(ceil(bounds.y1-0.5));
poly_extent.x2=CastDoubleToLong(floor(bounds.x2+0.5));
poly_extent.y2=CastDoubleToLong(floor(bounds.y2+0.5));
#if defined(MAGICKCORE_OPENMP_SUPPORT)
number_threads=GetMagickNumberThreads(image,image,poly_extent.y2-
poly_extent.y1+1,1);
status=ClonePolygonEdges(polygon_info,number_threads,exception);
Expand All @@ -5025,8 +5024,6 @@ static MagickBooleanType DrawPolygonPrimitive(Image *image,
polygon_info=DestroyPolygonThreadSet(polygon_info);
return(status);
}
#endif
status=MagickTrue;
image_view=AcquireAuthenticCacheView(image,exception);
if ((primitive_info->coordinates == 1) ||
(polygon_info[0]->number_edges == 0))
Expand Down

0 comments on commit 57be678

Please sign in to comment.