diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -133,7 +133,9 @@ func init() { func main() { wnd := g.NewMasterWindow("volute", 400, 200, 0) - g.EnqueueNewTextureFromRgba(compressorImage, func(tex *g.Texture) { + go updateCompImg() + m := <-updatedCompImg + g.EnqueueNewTextureFromRgba(m, func(tex *g.Texture) { compressorTexture = tex }) |