|
@@ -5588,7 +5588,7 @@ THREE.WebGLRenderer = function ( parameters ) {
|
|
|
|
|
|
texture.needsUpdate = false;
|
|
|
|
|
|
- if ( texture.onUpdate ) texture.onUpdate();
|
|
|
+ if ( texture.onUpdate ) texture.onUpdate( texture );
|
|
|
|
|
|
};
|
|
|
|
|
@@ -5735,7 +5735,7 @@ THREE.WebGLRenderer = function ( parameters ) {
|
|
|
|
|
|
texture.needsUpdate = false;
|
|
|
|
|
|
- if ( texture.onUpdate ) texture.onUpdate();
|
|
|
+ if ( texture.onUpdate ) texture.onUpdate( texture );
|
|
|
|
|
|
} else {
|
|
|
|