From 8a4df55ac0672df919d58000c7403e3bbc0797bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Thu, 8 Oct 2026 18:44:07 -0700 Subject: [PATCH] Fixed ambiguous bx::log call in 37-gpudrivenrendering. (#4033) --- examples/37-gpudrivenrendering/gpudrivenrendering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/37-gpudrivenrendering/gpudrivenrendering.cpp b/examples/37-gpudrivenrendering/gpudrivenrendering.cpp index ee409e6e2..0da25be40 100644 --- a/examples/37-gpudrivenrendering/gpudrivenrendering.cpp +++ b/examples/37-gpudrivenrendering/gpudrivenrendering.cpp @@ -863,7 +863,7 @@ public: bgfx::setUniform(u_inputRTSize, inputRendertargetSize); // store a rounded-up, power of two instance count for the stream compaction step - float noofInstancesPowOf2 = bx::pow(2.0f, bx::floor(bx::log(m_totalInstancesCount) / bx::log(2.0f) ) + 1.0f); + float noofInstancesPowOf2 = bx::pow(2.0f, bx::floor(bx::log(float(m_totalInstancesCount) ) / bx::log(2.0f) ) + 1.0f); float cullingConfig[4] = {