CreateJS / EaselJS

The Easel Javascript library provides a full, hierarchical display list, a core interaction model, and helper classes to make working with the HTML5 Canvas element much easier.
http://createjs.com/
MIT License
8.11k stars 1.97k forks source link

WebGL Filters - Cannot read property '_frameBuffer' of undefined #1001

Open thiemol opened 5 years ago

thiemol commented 5 years ago

Issue Details

On WebGL Filter Example (.../examples/WebGL/Filters_GL-GL.html) and any other page that uses stageGl with filters throw an error and the app stops working. All other example are working fine. Error: easeljs-NEXT.js:10287 Uncaught TypeError: Cannot read property '_frameBuffer' of undefined at StageGL.p.cacheDraw (easeljs-NEXT.js:10287) at BitmapCache.p._drawToCache (easeljs-NEXT.js:15736) at BitmapCache.p.update (easeljs-NEXT.js:15570) at BitmapCache.p.define (easeljs-NEXT.js:15520) at Bitmap.p.cache (easeljs-NEXT.js:6784) at Image.handleImageLoad (Filters_GL-GL.html:64)

The batchTextures[i] on the stage are undefined, if a filter is used.