Skip to content

Commit d32f38a

Browse files
author
David Gillen
committed
remove latent buffer textures from cache draws
1 parent aad8cb2 commit d32f38a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/easeljs/display/StageGL.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1414,6 +1414,12 @@ this.createjs = this.createjs||{};
14141414
return false;
14151415
}
14161416

1417+
for (var i = 0; i < this._gpuTextureCount; i++) {
1418+
if(this._batchTextures[i]._frameBuffer) {
1419+
this._batchTextures[i] = this._baseTextures[i];
1420+
}
1421+
}
1422+
14171423
var storeBatchOutput = this._batchTextureOutput;
14181424
var storeBatchConcat = this._batchTextureConcat;
14191425
var storeBatchTemp = this._batchTextureTemp;

0 commit comments

Comments
 (0)