testing the other glsl file
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
27b8e82e1d
commit
0f71a67096
7
main.go
7
main.go
|
@ -43,6 +43,7 @@ func init() {
|
||||||
config.Set("width", 640)
|
config.Set("width", 640)
|
||||||
config.Set("height", 480)
|
config.Set("height", 480)
|
||||||
config.Set("glDrift", 0.01)
|
config.Set("glDrift", 0.01)
|
||||||
|
// config.Set("filename", "planetfall.glsl")
|
||||||
config.Set("filename", "seascape.glsl")
|
config.Set("filename", "seascape.glsl")
|
||||||
pixelgl.Run(run)
|
pixelgl.Run(run)
|
||||||
|
|
||||||
|
@ -52,12 +53,12 @@ func init() {
|
||||||
// this must be defined for plugin's, but is never run
|
// this must be defined for plugin's, but is never run
|
||||||
// I assume it's for testing the code in a stand alone way
|
// I assume it's for testing the code in a stand alone way
|
||||||
func main() {
|
func main() {
|
||||||
// This parses the command line arguments
|
|
||||||
// parseConfig()
|
|
||||||
|
|
||||||
config.Set("width", 1024)
|
config.Set("width", 1024)
|
||||||
config.Set("height", 768)
|
config.Set("height", 768)
|
||||||
config.Set("glDrift", 0.01)
|
config.Set("glDrift", 0.01)
|
||||||
config.Set("filename", "seascape.glsl")
|
config.Set("filename", "planetfall.glsl")
|
||||||
|
// This parses the command line arguments
|
||||||
|
// parseConfig()
|
||||||
pixelgl.Run(run)
|
pixelgl.Run(run)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue