From 2b5ddbdc58d909cc4e817851b4967797687a3eeb Mon Sep 17 00:00:00 2001 From: dirk Date: Thu, 21 Jul 2016 20:56:03 +0200 Subject: [PATCH] Fixed argument order. --- MagickCore/accelerate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MagickCore/accelerate.c b/MagickCore/accelerate.c index cc91a4fd4..192633ee4 100644 --- a/MagickCore/accelerate.c +++ b/MagickCore/accelerate.c @@ -4138,8 +4138,8 @@ RestoreMSCWarning status|=SetOpenCLKernelArg(horizontalKernel,i++,sizeof(int),(void*)&resizeFilterType); status|=SetOpenCLKernelArg(horizontalKernel,i++,sizeof(int),(void*)&resizeWindowType); status|=SetOpenCLKernelArg(horizontalKernel,i++,sizeof(cl_mem),(void*)&resizeFilterCubicCoefficients); - status|=SetOpenCLKernelArg(horizontalKernel,i++,sizeof(float),(void*)&resizeFilterSupport); status|=SetOpenCLKernelArg(horizontalKernel,i++,sizeof(float),(void*)&resizeFilterScale); + status|=SetOpenCLKernelArg(horizontalKernel,i++,sizeof(float),(void*)&resizeFilterSupport); status|=SetOpenCLKernelArg(horizontalKernel,i++,sizeof(float),(void*)&resizeFilterWindowSupport); status|=SetOpenCLKernelArg(horizontalKernel,i++,sizeof(float),(void*)&resizeFilterBlur); status|=SetOpenCLKernelArg(horizontalKernel,i++,imageCacheLocalMemorySize,NULL); -- 2.40.0