David Catuhe 7 years ago
parent
commit
f627660244
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Materials/Textures/babylon.renderTargetTexture.ts

+ 1 - 1
src/Materials/Textures/babylon.renderTargetTexture.ts

@@ -675,7 +675,7 @@
             var textureSize = this.getSize();
             var newTexture = new RenderTargetTexture(
                 this.name,
-                textureSize.width,
+                textureSize,
                 this.getScene(),
                 this._renderTargetOptions.generateMipMaps,
                 this._doNotChangeAspectRatio,