mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +01:00
parent
825972b3e1
commit
f4d050161a
@ -208,17 +208,6 @@ func (c *Context) IsReady() bool {
|
|||||||
return r
|
return r
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update does nothing.
|
|
||||||
//
|
|
||||||
// Deprecated: (as of 1.6.0) Do not use this.
|
|
||||||
//
|
|
||||||
// As of 1.6.0-alpha, Update always returns nil and does nothing related to updating the state.
|
|
||||||
// You don't have to call Update any longer.
|
|
||||||
// The internal audio error is returned at ebiten.Run instead.
|
|
||||||
func (c *Context) Update() error {
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
// SampleRate returns the sample rate.
|
// SampleRate returns the sample rate.
|
||||||
func (c *Context) SampleRate() int {
|
func (c *Context) SampleRate() int {
|
||||||
return c.sampleRate
|
return c.sampleRate
|
||||||
|
Loading…
Reference in New Issue
Block a user