examples/sinewave: Add a message

This commit is contained in:
Hajime Hoshi 2016-07-10 23:51:16 +09:00
parent 4bded02ad6
commit 87e0948449

View File

@ -97,7 +97,8 @@ func update(screen *ebiten.Image) error {
return err
}
}
ebitenutil.DebugPrint(screen, fmt.Sprintf("FPS: %0.2f", ebiten.CurrentFPS()))
msg := fmt.Sprintf("FPS: %0.2f\nThis is an example using infinite audio stream.", ebiten.CurrentFPS())
ebitenutil.DebugPrint(screen, msg)
if err := audioContext.Update(); err != nil {
return err
}