internal/ui: remove an unnecessary alias

This commit is contained in:
Hajime Hoshi 2022-04-01 21:17:26 +09:00
parent b53cb2acd6
commit 9c448d207a

View File

@ -22,7 +22,7 @@ import (
"github.com/hajimehoshi/ebiten/v2/internal/buffered"
"github.com/hajimehoshi/ebiten/v2/internal/clock"
"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/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
// 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 {
return err
}