Without locking, asynchronous OpenGL rendering crashes on macOS. Signed-off-by: Elias Naur <mail@eliasnaur.com>
It is still slow. And crashy: https://github.com/golang/go/issues/31980. Signed-off-by: Elias Naur <mail@eliasnaur.com>