From f4ad12987ddba44f270c43d66cd2b1adb149a803 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Mon, 21 Mar 2022 16:59:53 +0900 Subject: [PATCH] internal/ui: bug fix: compile error with the cbackend tag --- internal/ui/ui_cbackend.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ui/ui_cbackend.go b/internal/ui/ui_cbackend.go index dcea10b26..00c18f0ff 100644 --- a/internal/ui/ui_cbackend.go +++ b/internal/ui/ui_cbackend.go @@ -48,7 +48,7 @@ func (u *UserInterface) Run(game Game) error { u.input.update(u.context) w, h := cbackend.ScreenSize() - if err := u.context.updateFrame(float64(w), float64(h), deviceScaleFactor); err != nil { + if err := u.context.updateFrame(graphicsDriver(), float64(w), float64(h), deviceScaleFactor); err != nil { return err }