From 7f45adeeb0bed6d03b9baa0c92a8215b95beb327 Mon Sep 17 00:00:00 2001 From: vincentlj Date: Wed, 1 Jan 2014 02:45:47 +0000 Subject: [PATCH] GPUParticles: Enforce GL_BLEND This fixes some issue with Harvest experienced by samuncle git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14867 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 1a9f5986f..2e9bddc89 100644 --- a/src/graphics/gpuparticles.cpp +++ b/src/graphics/gpuparticles.cpp @@ -405,6 +405,7 @@ void ParticleSystemProxy::draw() { glDepthMask(GL_FALSE); glDisable(GL_CULL_FACE); + glEnable(GL_BLEND); core::matrix4 projm = irr_driver->getVideoDriver()->getTransform(video::ETS_PROJECTION); core::matrix4 viewm = irr_driver->getVideoDriver()->getTransform(video::ETS_VIEW); glUseProgram(RenderProgram);