Skip to content

Commit

Permalink
Lensflare: Fix dispose()
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 committed Feb 9, 2018
1 parent e369389 commit 099e436
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/js/objects/Lensflare.js
Expand Up @@ -188,7 +188,8 @@ THREE.Lensflare = function () {

this.dispose = function () {

material1.dispose();
material1a.dispose();
material1b.dispose();
material2.dispose();

tempMap.dispose();
Expand Down

0 comments on commit 099e436

Please sign in to comment.