From fb57b75cc02b95b568fe99cc43347670721f211d Mon Sep 17 00:00:00 2001 From: vincentlj Date: Sun, 5 Jan 2014 23:32:24 +0000 Subject: [PATCH] GPUParticles: Attempt at fixing the green flash bug in minel git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14935 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/graphics/gpuparticles.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/graphics/gpuparticles.cpp b/src/graphics/gpuparticles.cpp index 2d702986f..0bbfd040a 100644 --- a/src/graphics/gpuparticles.cpp +++ b/src/graphics/gpuparticles.cpp @@ -291,6 +291,7 @@ void ParticleSystemProxy::setEmitter(scene::IParticleEmitter* emitter) default: assert(0 && "Wrong particle type"); } + glBindBuffer(GL_ARRAY_BUFFER, 0); texture = getTextureGLuint(getMaterial(0).getTexture(0)); normal_and_depth = getTextureGLuint(irr_driver->getRTT(RTT_NORMAL_AND_DEPTH));