diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-12-09 16:37:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-09 16:37:02 +0100 |
commit | 4d6f8f89ed0a42b6aae7f5843f2d0a6332018d08 (patch) | |
tree | 64b910ba2f0bbf70af2c99eb5535f49ab36d3361 | |
parent | 5b54690323342b1f99189d0e94dcebd2d410f466 (diff) | |
parent | 9ecde5524db626810423e408c1760a726dbb1630 (diff) |
Merge pull request #13424 from MillionOstrich/particles-pause-fix
Stop particles resetting on pause.
-rw-r--r-- | drivers/gles3/shaders/particles.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gles3/shaders/particles.glsl b/drivers/gles3/shaders/particles.glsl index a62c124dfe..fbee08c0fe 100644 --- a/drivers/gles3/shaders/particles.glsl +++ b/drivers/gles3/shaders/particles.glsl @@ -116,7 +116,7 @@ void main() { #endif } - } else { + } else if(delta > 0.0) { if (restart_phase >= prev_system_phase) { restart=true; #ifdef USE_FRACTIONAL_DELTA |