summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
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