diff options
| author | sam-anthony <samanthony6@protonmail.com> | 2022-04-05 21:32:40 -0230 |
|---|---|---|
| committer | sam-anthony <samanthony6@protonmail.com> | 2022-04-05 21:32:40 -0230 |
| commit | 4cbd64e7ab6d976496c5e36c1ebae7526eceb375 (patch) | |
| tree | 782847bc2f94d593e4e66d89195efcb46e0f4d02 /main.go | |
| parent | 6634b3ff6bcdffbab38a049460ae6ea3cd68944f (diff) | |
| download | volute-4cbd64e7ab6d976496c5e36c1ebae7526eceb375.zip | |
display points on compressor map
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 }) |