|
@@ -25038,9 +25038,6 @@ var BABYLON;
|
|
|
this._lastUpdate = BABYLON.Tools.Now;
|
|
|
}
|
|
|
VideoTexture.prototype._createTexture = function () {
|
|
|
- if (this.video.videoWidth === 0 || this.video.videoHeight === 0) {
|
|
|
- return;
|
|
|
- }
|
|
|
this._texture = this.getScene().getEngine().createDynamicTexture(this.video.videoWidth, this.video.videoHeight, this._generateMipMaps, this._samplingMode);
|
|
|
this._texture.isReady = true;
|
|
|
};
|