diff --git a/src/easeljs/display/StageGL.js b/src/easeljs/display/StageGL.js index 3ee5419b0..12394d6b7 100644 --- a/src/easeljs/display/StageGL.js +++ b/src/easeljs/display/StageGL.js @@ -2627,7 +2627,7 @@ this.createjs = this.createjs||{}; } if(!this._directDraw && (!ignoreCache && item.cacheCanvas === null && item.filters !== null && item.filters.length)) { - var bounds; + var bounds = null; if (item.bitmapCache === null) { bounds = item.getBounds(); item.bitmapCache = new createjs.BitmapCache();