mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
internal/ui: remove an unnecessary alias
This commit is contained in:
parent
b53cb2acd6
commit
9c448d207a
@ -22,7 +22,7 @@ import (
|
|||||||
"github.com/hajimehoshi/ebiten/v2/internal/buffered"
|
"github.com/hajimehoshi/ebiten/v2/internal/buffered"
|
||||||
"github.com/hajimehoshi/ebiten/v2/internal/clock"
|
"github.com/hajimehoshi/ebiten/v2/internal/clock"
|
||||||
"github.com/hajimehoshi/ebiten/v2/internal/debug"
|
"github.com/hajimehoshi/ebiten/v2/internal/debug"
|
||||||
graphicspkg "github.com/hajimehoshi/ebiten/v2/internal/graphics"
|
"github.com/hajimehoshi/ebiten/v2/internal/graphics"
|
||||||
"github.com/hajimehoshi/ebiten/v2/internal/graphicsdriver"
|
"github.com/hajimehoshi/ebiten/v2/internal/graphicsdriver"
|
||||||
"github.com/hajimehoshi/ebiten/v2/internal/hooks"
|
"github.com/hajimehoshi/ebiten/v2/internal/hooks"
|
||||||
)
|
)
|
||||||
@ -125,7 +125,7 @@ func (c *context) updateFrameImpl(graphicsDriver graphicsdriver.Graphics, update
|
|||||||
|
|
||||||
// All the vertices data are consumed at the end of the frame, and the data backend can be
|
// All the vertices data are consumed at the end of the frame, and the data backend can be
|
||||||
// available after that. Until then, lock the vertices backend.
|
// available after that. Until then, lock the vertices backend.
|
||||||
return graphicspkg.LockAndResetVertices(func() error {
|
return graphics.LockAndResetVertices(func() error {
|
||||||
if err := buffered.EndFrame(graphicsDriver); err != nil {
|
if err := buffered.EndFrame(graphicsDriver); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user