Skip to content

Commit 7d6034c

Browse files
committed
Reset transform feedback on changing the image
1 parent 48c5102 commit 7d6034c

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Changelog
22

3+
- reset transform feedback on changing the image
4+
35
## 1.0.3
46

57
- limit FPS

src/particle-layer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ export default class ParticleLayer extends LineLayer {
7070
super.updateState({props, oldProps, changeFlags});
7171

7272
if (
73+
props.image !== oldProps.image ||
7374
props.numParticles !== oldProps.numParticles ||
7475
props.maxAge !== oldProps.maxAge ||
7576
props.color !== oldProps.color ||

0 commit comments

Comments
 (0)