Skip to content

Commit

Permalink
Fix a crash bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ueshita committed Feb 3, 2024
1 parent 80c278d commit 9ae2d88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dev/Cpp/Effekseer/Effekseer/Effekseer.Instance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ void Instance::FirstUpdate()

m_pEffectNode->InitializeRenderedInstance(*this, *ownGroup_, m_pManager);

if (m_pEffectNode->IsRendered)
if (m_pEffectNode->IsRendered && m_pEffectNode->GpuParticlesResource)
{
if (auto gpuParticles = m_pManager->GetGpuParticles())
{
Expand Down

0 comments on commit 9ae2d88

Please sign in to comment.