internal/ui: bug fix: compile failure with -tags=nintendosdk

This commit is contained in:
Hajime Hoshi 2023-10-15 03:58:29 +09:00
parent f25f46f50c
commit beabe9c6ee

View File

@ -74,6 +74,10 @@ type userInterfaceImpl struct {
m sync.Mutex
}
func (u *UserInterface) init() error {
return nil
}
func (u *UserInterface) Run(game Game, options *RunOptions) error {
u.context = newContext(game)
g, err := newGraphicsDriver(&graphicsDriverCreatorImpl{}, options.GraphicsLibrary)