mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-23 12:22:42 +00:00
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:
parent
3b402813d8
commit
672035b1a9
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue