Fixed particles.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3124 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2009-02-10 21:50:10 +00:00
parent 3b402813d8
commit 672035b1a9

View file

@ -659,6 +659,9 @@ void R_DrawSpriteModel (entity_t *e)
qglDisable (GL_ALPHA_TEST);
qglEnable(GL_DEPTH_TEST);
qglEnable(GL_CULL_FACE);
qglEnable(GL_BLEND);
if (e->flags & Q2RF_ADDATIVE) //back to regular blending for us!
qglBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
}