Optimize mobile rendering and extend live-client launch options
This commit is contained in:
@@ -11,6 +11,11 @@
|
||||
|
||||
class CParticleSystemData; // PORT: MSVC makes the friend declarations in the included headers visible; ISO C++ needs this
|
||||
|
||||
namespace NParticleRenderer
|
||||
{
|
||||
void FlushBatch();
|
||||
}
|
||||
|
||||
class CParticleSystemInstance : public CEffectElementBaseInstance
|
||||
{
|
||||
public:
|
||||
@@ -33,9 +38,10 @@ class CParticleSystemInstance : public CEffectElementBaseInstance
|
||||
for (; itor != m_ParticleInstanceListVector[dwFrameIndex].end(); ++itor)
|
||||
{
|
||||
if (!InFrustum(*itor))
|
||||
return;
|
||||
continue;
|
||||
FunObj(*itor);
|
||||
}
|
||||
NParticleRenderer::FlushBatch();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user