mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 10:48:53 +01:00
ui: Refactoring
This commit is contained in:
parent
60a504543f
commit
bae6d62067
@ -75,10 +75,8 @@ var (
|
||||
func Loop() {
|
||||
<-workerCreated
|
||||
for {
|
||||
select {
|
||||
case <-worker.WorkAvailable():
|
||||
worker.DoWork()
|
||||
}
|
||||
<-worker.WorkAvailable()
|
||||
worker.DoWork()
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user