elgopher/pi

Improve performance of drawing "Play" button in the browser

elgopher opened this issue · 1 comments

Until audio is initialzed Pi shows the "Play" button in the browser. It looks like drawing the image on each Draw using Ebitengine is gpu-intensive operation.

One possible solution is to use sync.Once