mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-09-10 20:48:29 +00:00
Renamed bx::uint32_min/max/clamp/cntlz/cnttz/mod to typed equivalents. (#3692)
This commit is contained in:
committed by
GitHub
parent
43fbfaba41
commit
331783cf9a
@@ -290,7 +290,7 @@ uint32_t genSphere(uint8_t _subdiv0, void* _pos0 = NULL, uint16_t _posStride0 =
|
||||
} gen(_pos0, _posStride0, _normals0, _normalStride0, _subdiv0);
|
||||
}
|
||||
|
||||
uint32_t numVertices = 20*3*bx::uint32_max(1, (uint32_t)bx::pow(4.0f, _subdiv0) );
|
||||
uint32_t numVertices = 20*3*bx::max(1, (uint32_t)bx::pow(4.0f, _subdiv0) );
|
||||
return numVertices;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user