diff --git a/packages/core/src/renderTexture/BaseRenderTexture.js b/packages/core/src/renderTexture/BaseRenderTexture.js index 0afbfc5..69a4d4a 100644 --- a/packages/core/src/renderTexture/BaseRenderTexture.js +++ b/packages/core/src/renderTexture/BaseRenderTexture.js @@ -92,7 +92,7 @@ this.clearColor = [0, 0, 0, 0]; - this.frameBuffer = new FrameBuffer(width * this.resolution, height * this.resolution) + this.frameBuffer = new FrameBuffer(this.width * this.resolution, this.height * this.resolution) .addColorTexture(0, this) .enableStencil();