From 9a84a3a07b0ff35520f33dbe802c198c6e6e5161 Mon Sep 17 00:00:00 2001 From: kearwood Date: Sun, 18 Sep 2022 23:28:28 -0700 Subject: [PATCH] Removed unused texture sampler binding for dust_particle shader --- kraken/KRParticleSystemNewtonian.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/kraken/KRParticleSystemNewtonian.cpp b/kraken/KRParticleSystemNewtonian.cpp index 6ce800f..4a72748 100755 --- a/kraken/KRParticleSystemNewtonian.cpp +++ b/kraken/KRParticleSystemNewtonian.cpp @@ -87,7 +87,6 @@ void KRParticleSystemNewtonian::render(RenderInfo& ri) if (ri.renderPass == KRNode::RENDER_PASS_ADDITIVE_PARTICLES) { if (ri.viewport.visible(getBounds())) { - KRTexture* pParticleTexture = m_pContext->getTextureManager()->getTexture("flare"); m_pContext->getTextureManager()->selectTexture(0, pParticleTexture, 0.0f, KRTexture::TEXTURE_USAGE_PARTICLE); int particle_count = 10000;