mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
- initialize the index field for particles.
This won't contribute to sort order so it should be the same for all particles, which it wasn't because it was never set.
This commit is contained in:
parent
c58f5095d9
commit
a40c617478
1 changed files with 1 additions and 0 deletions
|
@ -1164,6 +1164,7 @@ void GLSprite::ProcessParticle (HWDrawInfo *di, particle_t *particle, sector_t *
|
||||||
gltexture=nullptr;
|
gltexture=nullptr;
|
||||||
topclip = LARGE_VALUE;
|
topclip = LARGE_VALUE;
|
||||||
bottomclip = -LARGE_VALUE;
|
bottomclip = -LARGE_VALUE;
|
||||||
|
index = 0;
|
||||||
|
|
||||||
// [BB] Load the texture for round or smooth particles
|
// [BB] Load the texture for round or smooth particles
|
||||||
if (gl_particles_style)
|
if (gl_particles_style)
|
||||||
|
|
Loading…
Reference in a new issue