diff options
author | MillionOstrich <31486600+MillionOstrich@users.noreply.github.com> | 2017-11-30 17:44:24 +0000 |
---|---|---|
committer | MillionOstrich <31486600+MillionOstrich@users.noreply.github.com> | 2017-11-30 17:51:18 +0000 |
commit | 9ecde5524db626810423e408c1760a726dbb1630 (patch) | |
tree | fd5f1e9131b8d9cf1075d01034d1f2409423668a /drivers/gles3 | |
parent | 9678231b109c333a5273325c8758241310cd27f4 (diff) |
Stop particles resetting on pause.
Diffstat (limited to 'drivers/gles3')
-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 |