summaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-19 08:28:54 -0600
committerJeff Carr <[email protected]>2024-02-19 08:28:54 -0600
commit27b8e82e1d59880381fc0047f2ef90b423124a5d (patch)
tree1b1a6f879855ba1e9de20cfae78557ca55392cb0 /config.go
parentcddced4bc8e963c9e5a2af17c8e024a52bbc3c90 (diff)
doesn't quite load when a pluginv0.0.1
it works in init(), but if one tries to load it from the STDIN goroutine it flips out. something opengl related that is gone perhaps. anyway. it's a nice clean demo of opengl maybe someone that actually knows what they are doing can make a button work Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'config.go')
-rw-r--r--config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.go b/config.go
index 3c5fb11..8aaf309 100644
--- a/config.go
+++ b/config.go
@@ -38,10 +38,12 @@ func parseFlags() {
var width int
var height int
var glDrift float64
+ var guiJunk string
flag.StringVar(&version, "version", "v0.1", "Set compiled in version string")
flag.StringVar(&filename, "filename", "seascape.glsl", "path to GLSL file")
+ flag.StringVar(&guiJunk, "gui", "something", "redo all this code")
flag.IntVar(&width, "width", 1024, "Width of the OpenGL Window")
flag.IntVar(&height, "height", 768, "Height of the OpenGL Window")