mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 10:48:53 +01:00
internal/ui: bug fix: compile error on mobiles
This commit is contained in:
parent
8902d95b2d
commit
0e137e8dd7
@ -281,7 +281,7 @@ func (u *userInterfaceImpl) run(game Game, mainloop bool, options *RunOptions) (
|
|||||||
mgl = <-glContextCh
|
mgl = <-glContextCh
|
||||||
} else {
|
} else {
|
||||||
u.renderThread = thread.NewOSThread()
|
u.renderThread = thread.NewOSThread()
|
||||||
graphicscommand.SetRenderingThread(u.renderThread)
|
graphicscommand.SetRenderThread(u.renderThread)
|
||||||
}
|
}
|
||||||
|
|
||||||
g, err := newGraphicsDriver(&graphicsDriverCreatorImpl{
|
g, err := newGraphicsDriver(&graphicsDriverCreatorImpl{
|
||||||
|
Loading…
Reference in New Issue
Block a user