diff --git a/MagickCore/draw.c b/MagickCore/draw.c
index 768c03a..53d40a3 100644
--- a/MagickCore/draw.c
+++ b/MagickCore/draw.c
@@ -1169,7 +1169,7 @@
image_view=AcquireAuthenticCacheView(image,exception);
#if defined(MAGICKCORE_OPENMP_SUPPORT)
#pragma omp parallel for schedule(static) shared(status) \
- dynamic_num_threads_dos(width,height)
+ dynamic_number_threads(width,height,1)
#endif
for (y=start; y <= stop; y++)
{
@@ -3261,7 +3261,7 @@
image_view=AcquireAuthenticCacheView(image,exception);
#if defined(MAGICKCORE_OPENMP_SUPPORT)
#pragma omp parallel for schedule(static) shared(status) \
- dynamic_num_threads_dos(width,height)
+ dynamic_number_threads(width,height,1)
#endif
for (y=bounding_box.y; y < (ssize_t) bounding_box.height; y++)
{
@@ -3874,7 +3874,7 @@
stop=(ssize_t) floor(bounds.y2+0.5);
#if defined(MAGICKCORE_OPENMP_SUPPORT)
#pragma omp parallel for schedule(static) shared(status) \
- dynamic_num_threads_dos(width,height)
+ dynamic_number_threads(width,height,1)
#endif
for (y=start; y <= stop; y++)
{
@@ -3937,7 +3937,7 @@
stop=(ssize_t) floor(bounds.y2+0.5);
#if defined(MAGICKCORE_OPENMP_SUPPORT)
#pragma omp parallel for schedule(static) shared(status) \
- dynamic_num_threads_dos(width,height)
+ dynamic_number_threads(width,height,1)
#endif
for (y=start; y <= stop; y++)
{