Merge pull request #15755 from eska014/webgl-particles2d
Fix Particles2D in WebGL 2.0
This commit is contained in:
commit
8dc1c0bda5
1 changed files with 1 additions and 0 deletions
|
@ -5694,6 +5694,7 @@ void RasterizerStorageGLES3::_particles_process(Particles *p_particles, float p_
|
|||
SWAP(p_particles->particle_buffers[0], p_particles->particle_buffers[1]);
|
||||
SWAP(p_particles->particle_vaos[0], p_particles->particle_vaos[1]);
|
||||
|
||||
glBindBufferBase(GL_TRANSFORM_FEEDBACK_BUFFER, 0, 0);
|
||||
glBindVertexArray(0);
|
||||
/* //debug particles :D
|
||||
glBindBuffer(GL_ARRAY_BUFFER, p_particles->particle_buffers[0]);
|
||||
|
|
Loading…
Reference in a new issue