diff --git a/internal/graphics/opengl/context_desktop.go b/internal/graphics/opengl/context_desktop.go index 05e53f1b8..109f669b8 100644 --- a/internal/graphics/opengl/context_desktop.go +++ b/internal/graphics/opengl/context_desktop.go @@ -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() } }