David Catuhe %!s(int64=7) %!d(string=hai) anos
pai
achega
f627660244
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,