(target)
| 792 | } |
| 793 | |
| 794 | function render(target) { |
| 795 | gl.blendFunc(gl.ONE, gl.ONE_MINUS_SRC_ALPHA); |
| 796 | gl.enable(gl.BLEND); |
| 797 | drawDisplay(target); |
| 798 | } |
| 799 | |
| 800 | function drawDisplay(target) { |
| 801 | let width = target == null ? gl.drawingBufferWidth : target.width; |
no test coverage detected