From 5a97a70649833adc4fcbcf6e34f7c7af696a7e98 Mon Sep 17 00:00:00 2001 From: David Gillen Date: Mon, 9 Apr 2018 13:56:32 -0600 Subject: [PATCH] fix issue with updateViewport not targeting correct surface --- src/easeljs/display/StageGL.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/easeljs/display/StageGL.js b/src/easeljs/display/StageGL.js index e4550d602..68120532f 100644 --- a/src/easeljs/display/StageGL.js +++ b/src/easeljs/display/StageGL.js @@ -1596,7 +1596,7 @@ this.createjs = this.createjs||{}; -1, 1, 0, 1 ]); - if (this._bufferTextureOutput !== null) { + if (this._bufferTextureOutput !== this && this._bufferTextureOutput !== null) { this.resizeTexture(this._bufferTextureOutput, this._viewportWidth, this._viewportHeight); } if (this._bufferTextureConcat !== null) {