Removed unused texture sampler binding for dust_particle shader

This commit is contained in:
2022-09-18 23:28:28 -07:00
parent f4bd0d6340
commit 9a84a3a07b

View File

@@ -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;