From 2ba3764aebf83bacbed017741c08e1f4fc10b7de Mon Sep 17 00:00:00 2001 From: Matt Feemster Date: Fri, 20 Feb 2026 16:28:41 -0700 Subject: [PATCH] -Fix OpenCL code generation bug for DepthSine2 in flam3 compat mode. --- Source/Ember/Variations07.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Ember/Variations07.h b/Source/Ember/Variations07.h index ae5cb6c..a1c76f4 100644 --- a/Source/Ember/Variations07.h +++ b/Source/Ember/Variations07.h @@ -3988,7 +3988,7 @@ public: << "\t\treal_t weight = " << weight << ";\n"; if (Compat::m_Compat) - ss << "\t\treal_t rad = sqrt(Sqr((vIn.x - " << x0 << ") / " << mulx << ") + Sqr((vIn.y - " << y0 << ") / " << muly << "); \n"; + ss << "\t\treal_t rad = sqrt(Sqr((vIn.x - " << x0 << ") / " << mulx << ") + Sqr((vIn.y - " << y0 << ") / " << muly << ")); \n"; else ss << "\t\treal_t rad = sqrt(Sqr(vIn.x - " << x0 << ") * " << oneovermulsqx << " + Sqr(vIn.y - " << y0 << ") * " << oneovermulsqy << "); \n";