Skip to content

Commit 531890a

Browse files
authored
Merge pull request #948 from DavidHGillen/master
fix issue with updateViewport not targeting correct surface
2 parents f9684f9 + 5a97a70 commit 531890a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)