This shouldn't have been added to previous commit, sorry.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14865 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
vincentlj 2014-01-01 02:17:58 +00:00
parent 94d9eb056a
commit 217d512d5f

View File

@ -466,8 +466,8 @@ void ParticleSystemProxy::render() {
draw();
// We need to force irrlicht to update its internal states
irr::video::IVideoDriver * const drv = irr_driver->getVideoDriver();
//drv->setMaterial(getMaterial(0));
//static_cast<irr::video::COpenGLDriver*>(drv)->setRenderStates3DMode();
drv->setMaterial(getMaterial(0));
static_cast<irr::video::COpenGLDriver*>(drv)->setRenderStates3DMode();
}
RainNode::RainNode(scene::ISceneManager* mgr, ITexture *tex)