@@ -125,7 +125,7 @@ Object.assign( Texture.prototype, EventDispatcher.prototype, {
var canvas;
- if ( image.toDataURL !== undefined ) {
+ if ( image instanceof HTMLCanvasElement ) {
canvas = image;