mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
Bug fix: Drawer2 -> GraphicsContextDrawer
This commit is contained in:
parent
164b320170
commit
31f33b0154
@ -17,7 +17,7 @@ type canvas struct {
|
||||
funcsDone chan struct{}
|
||||
}
|
||||
|
||||
func (c *canvas) Draw(d ebiten.Drawer2) (err error) {
|
||||
func (c *canvas) Draw(d ebiten.GraphicsContextDrawer) (err error) {
|
||||
c.use(func() {
|
||||
c.context.PreUpdate()
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user