opengl: Bug fix: Remove infinite for loop and improve FPS on iOS

This commit is contained in:
Hajime Hoshi 2016-07-23 02:09:48 +09:00
parent 77a1117165
commit e3ef0540a3

View File

@ -83,12 +83,8 @@ loop:
return err
case <-c.worker.WorkAvailable():
c.worker.DoWork()
default:
select {
case <-chDone:
break loop
default:
}
}
}
return nil