mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +01:00
audio: Use :=
This commit is contained in:
parent
65c0bf55fc
commit
97ec367e23
@ -256,7 +256,7 @@ func (c *Context) loop() {
|
||||
c.m.Unlock()
|
||||
|
||||
const n = 4096
|
||||
if _, err = io.CopyN(p, c.players, n); err != nil {
|
||||
if _, err := io.CopyN(p, c.players, n); err != nil {
|
||||
audiobinding.SetError(err)
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user