Skip to content

Commit 5a97a70

Browse files
author
David Gillen
committed
fix issue with updateViewport not targeting correct surface
1 parent f9684f9 commit 5a97a70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/easeljs/display/StageGL.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1596,7 +1596,7 @@ this.createjs = this.createjs||{};
15961596
-1, 1, 0, 1
15971597
]);
15981598

1599-
if (this._bufferTextureOutput !== null) {
1599+
if (this._bufferTextureOutput !== this && this._bufferTextureOutput !== null) {
16001600
this.resizeTexture(this._bufferTextureOutput, this._viewportWidth, this._viewportHeight);
16011601
}
16021602
if (this._bufferTextureConcat !== null) {

0 commit comments

Comments
 (0)