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