mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-06 11:52:58 +00:00
[thanos] Added static assertion against seed-multiplier overflow.
This commit is contained in:
@@ -34,6 +34,7 @@ constexpr auto kDisappearStartPhase = kMaxPhaseDuration * 0.15f;
|
||||
constexpr auto kDisappearDuration
|
||||
= kMaxPhaseDuration - kDisappearStartPhase;
|
||||
constexpr auto kMaxParticleCount = uint32_t(120000);
|
||||
static_assert(kMaxParticleCount < (1u << 30));
|
||||
|
||||
const float kQuadVertices[kQuadVertexCount * 2] = {
|
||||
0.f, 0.f,
|
||||
|
||||
Reference in New Issue
Block a user