pi
pi copied to clipboard
Improve performance of drawing "Play" button in the browser
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