internal/ui: bug fix: compile error on mobiles

This commit is contained in:
Hajime Hoshi 2022-12-30 15:43:53 +09:00
parent 8902d95b2d
commit 0e137e8dd7

View File

@ -281,7 +281,7 @@ func (u *userInterfaceImpl) run(game Game, mainloop bool, options *RunOptions) (
mgl = <-glContextCh
} else {
u.renderThread = thread.NewOSThread()
graphicscommand.SetRenderingThread(u.renderThread)
graphicscommand.SetRenderThread(u.renderThread)
}
g, err := newGraphicsDriver(&graphicsDriverCreatorImpl{