opengl: Refactoring

This commit is contained in:
Hajime Hoshi 2016-05-07 19:07:56 +09:00
parent a9249d6c65
commit e99736d5a5

View File

@ -78,11 +78,8 @@ func NewContext() (*Context, error) {
}
func (c *Context) Loop() {
for {
select {
case f := <-c.funcs:
f()
}
for f := range c.funcs {
f()
}
}