Browse Source

Add missing isCanvasTexture property

06wj 7 years ago
parent
commit
54fdf6304b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/textures/CanvasTexture.js

+ 1 - 1
src/textures/CanvasTexture.js

@@ -14,6 +14,6 @@ function CanvasTexture( canvas, mapping, wrapS, wrapT, magFilter, minFilter, for
 
 CanvasTexture.prototype = Object.create( Texture.prototype );
 CanvasTexture.prototype.constructor = CanvasTexture;
-
+CanvasTexture.prototype.isCanvasTexture = true;
 
 export { CanvasTexture };