()
| 4146 | updateTextures(); |
| 4147 | } |
| 4148 | function updateTextures() { |
| 4149 | generateTextures(); |
| 4150 | renderer.updateTextures(); |
| 4151 | |
| 4152 | requestAnimationFrame(updateTextures); |
| 4153 | } |
| 4154 | function generateTextures() { |
| 4155 | textureFgCtx.drawImage(videoBg, 0, textureBgSize.height, textureFgSize.width, textureFgSize.height, 0, 0, textureFgSize.width, textureFgSize.height); |
| 4156 | textureBgCtx.drawImage(videoBg, 0, 0, textureBgSize.width, textureBgSize.height, 0, 0, textureBgSize.width, textureBgSize.height); |
no test coverage detected