Skip to content

Commit

Permalink
Update to goxjs/glfw API change.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitshur committed May 31, 2015
1 parent e6689f8 commit deb60fe
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion 111/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ var cameraX, cameraY float64 = 825, 510
var polygon gist6545684.Polygon

func main() {
err := glfw.Init(gl.ContextSwitcher)
err := glfw.Init(gl.ContextWatcher)
if err != nil {
panic(err)
}
Expand Down
2 changes: 1 addition & 1 deletion 113/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ var windowSize = [2]int{400, 400}
var mouseX, mouseY float64 = 50, 100

func main() {
err := glfw.Init(gl.ContextSwitcher)
err := glfw.Init(gl.ContextWatcher)
if err != nil {
panic(err)
}
Expand Down
2 changes: 1 addition & 1 deletion 114/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func createVbo3Ubyte(vertices []uint8) gl.Buffer {
var windowSize = [2]int{1024, 800}

func main() {
err := glfw.Init(gl.ContextSwitcher)
err := glfw.Init(gl.ContextWatcher)
if err != nil {
panic(err)
}
Expand Down
2 changes: 1 addition & 1 deletion 115/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func createVbo3Ubyte(vertices []uint8) gl.Buffer {
var windowSize = [2]int{1024, 800}

func main() {
err := glfw.Init(gl.ContextSwitcher)
err := glfw.Init(gl.ContextWatcher)
if err != nil {
panic(err)
}
Expand Down
2 changes: 1 addition & 1 deletion 97/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ func createVbo3Ubyte(vertices []uint8) gl.Buffer {
var windowSize = [2]int{1024, 800}

func main() {
err := glfw.Init(gl.ContextSwitcher)
err := glfw.Init(gl.ContextWatcher)
if err != nil {
panic(err)
}
Expand Down

0 comments on commit deb60fe

Please sign in to comment.