| 1 | class BackgroundScene extends Scene |
| 2 | { |
| 3 | constructor (x, y, width, height, displayMode = 0) |
| 4 | { |
| 5 | super(x, y, width, height, displayMode); |
| 6 | } |
| 7 | |
| 8 | // Note: the old canvas2d path could skip redraw and keep the bitmap. |
| 9 | // WebGL defaults to preserveDrawingBuffer=false, so the buffer is cleared |
| 10 | // after compositing — we must redraw every frame. |
| 11 | } |