From 5e2f9c5c67f5c1673553bd1e07586ba85fcb8df9 Mon Sep 17 00:00:00 2001 From: Lukas Stockner Date: Thu, 24 May 2018 19:06:50 +0200 Subject: Cycles: Cleanup: Remove duplicated atan2f definition for OpenCL Turns out that atan2f was already defined for OpenCL. --- intern/cycles/kernel/kernel_compat_opencl.h | 1 - 1 file changed, 1 deletion(-) (limited to 'intern/cycles/kernel') diff --git a/intern/cycles/kernel/kernel_compat_opencl.h b/intern/cycles/kernel/kernel_compat_opencl.h index ff7b69ab08f..671c47e2225 100644 --- a/intern/cycles/kernel/kernel_compat_opencl.h +++ b/intern/cycles/kernel/kernel_compat_opencl.h @@ -116,7 +116,6 @@ #define asinf(x) asin(((float)(x))) #define acosf(x) acos(((float)(x))) #define atanf(x) atan(((float)(x))) -#define atan2f(x, y) atan2(((float)(x)), ((float)(y))) #define floorf(x) floor(((float)(x))) #define ceilf(x) ceil(((float)(x))) #define hypotf(x, y) hypot(((float)(x)), ((float)(y))) -- cgit v1.2.3