From 9c448d207adf0eb9c52d838b6f8d8fc69de6379a Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Fri, 1 Apr 2022 21:17:26 +0900 Subject: [PATCH] internal/ui: remove an unnecessary alias --- internal/ui/context.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/ui/context.go b/internal/ui/context.go index 956656ebe..3ee9f599c 100644 --- a/internal/ui/context.go +++ b/internal/ui/context.go @@ -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 }