From 5cd66b6d6b109ed5d6f68aff825246d885774480 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Tue, 15 Jan 2019 02:13:18 +0900 Subject: [PATCH] examples/audio: Remove unused functions --- examples/audio/main.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/examples/audio/main.go b/examples/audio/main.go index af1e43065..d5c7370f8 100644 --- a/examples/audio/main.go +++ b/examples/audio/main.go @@ -185,10 +185,6 @@ func (p *Player) seekBarIfNeeded() { p.audioPlayer.Seek(pos) } -func (p *Player) close() error { - return p.audioPlayer.Close() -} - func (p *Player) draw(screen *ebiten.Image) { // Draw the bar. x, y, w, h := playerBarRect()