summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-19 08:48:10 -0600
committerJeff Carr <[email protected]>2024-02-19 08:48:10 -0600
commit8540387ab7feea5f3760f5361790ca3fd72392f8 (patch)
tree1402e117d045314adf7dd19fd909c4fb6c339b35 /main.go
parent0f71a670960cad2bc98f5d99f1a3b0e55173bc00 (diff)
notes about why this doesn't workv0.21.0v0.20.8
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
-rw-r--r--main.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/main.go b/main.go
index ae0d33b..8b67ba3 100644
--- a/main.go
+++ b/main.go
@@ -40,14 +40,20 @@ func init() {
showOptions()
+ go simpleStdin()
+
config.Set("width", 640)
config.Set("height", 480)
config.Set("glDrift", 0.01)
// config.Set("filename", "planetfall.glsl")
config.Set("filename", "seascape.glsl")
+
+ // I think this doesn't work as a goroutine because
+ // opengl closes. This plugin probably has to wait
+ // until there is some sort of protobuf + socket interface
+ // instead of a plugin
pixelgl.Run(run)
- go simpleStdin()
}
// this must be defined for plugin's, but is never run