mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-10-25 10:20:52 +00:00
Fixed ambiguous bx::log call in 37-gpudrivenrendering. (#4033)
This commit is contained in:
@@ -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] =
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user